|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
javax.mail.MessagingException
javax.mail.internet.ParseException
javax.mail.internet.AddressException
public final class AddressException
間違った形式のアドレスが検出された時にスローされる例外です。
フィールドの概要 | |
---|---|
protected int |
pos
エラーが発生した文字列中のインデックス、又は不明の場合は -1 になります。 |
protected String |
ref
構文解析される文字列です。 |
コンストラクタの概要 | |
---|---|
AddressException()
詳細メッセージを指定しないで AddressException を構築します。 |
|
AddressException(String s)
指定された詳細メッセージで AddressException を構築します。 |
|
AddressException(String s,
String ref)
指定された詳細メッセージと参照情報で AddressException を構築します。 |
|
AddressException(String s,
String ref,
int pos)
指定された詳細メッセージと参照情報で AddressException を構築します。 |
メソッドの概要 | |
---|---|
int |
getPos()
エラーが検出された参照文字列の位置 (関連がない場合は -1) を取得します。 |
String |
getRef()
エラーが検出された時に構文解析されていた文字列 (関連がない場合は null) を取得します。 |
String |
toString()
Override toString method to provide information on nested exceptions. |
クラス javax.mail.MessagingException から継承されたメソッド |
---|
getCause, getNextException, setNextException |
クラス java.lang.Throwable から継承されたメソッド |
---|
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
フィールドの詳細 |
---|
protected String ref
protected int pos
コンストラクタの詳細 |
---|
public AddressException()
public AddressException(String s)
s
- 詳細メッセージpublic AddressException(String s, String ref)
s
- 詳細メッセージpublic AddressException(String s, String ref, int pos)
s
- 詳細メッセージメソッドの詳細 |
---|
public String getRef()
public int getPos()
public String toString()
MessagingException
の記述:
MessagingException
内の toString
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |