|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
javax.mail.MessagingException
public class MessagingException
Messaging クラスによりスローされる全ての例外の基底クラスです。
| コンストラクタの概要 | |
|---|---|
MessagingException()
詳細メッセージを指定しないで MessagingException を構築します。 |
|
MessagingException(String s)
指定された詳細メッセージを使用して MessagingException を構築します。 |
|
MessagingException(String s,
Exception e)
指定された Exception と詳細メッセージを使用して MessagingException を構築します。 |
|
| メソッドの概要 | |
|---|---|
Throwable |
getCause()
Overrides the getCause method of Throwable to return the next exception in the chain of nested exceptions. |
Exception |
getNextException()
この例外にチェーンされた次の例外を取得します。 |
boolean |
setNextException(Exception ex)
チェーンの終端に例外を追加します。 |
String |
toString()
Override toString method to provide information on nested exceptions. |
| クラス 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 |
| コンストラクタの詳細 |
|---|
public MessagingException()
public MessagingException(String s)
s - 詳細メッセージ
public MessagingException(String s,
Exception e)
s - 詳細メッセージe - 埋め込まれた例外getNextException(),
setNextException(java.lang.Exception)| メソッドの詳細 |
|---|
public Exception getNextException()
public Throwable getCause()
Throwable 内の getCausepublic boolean setNextException(Exception ex)
ex - 例外チェーンの新しい終端
true、そうでない場合は falsepublic String toString()
Throwable 内の toString
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||