public class MessagingException
extends java.lang.Exception
| Constructor and Description |
|---|
MessagingException ()
Constructs a messaging exception with no detail message.
|
MessagingException (java.lang.String message)
Constructs a messaging exception with the specified detail message.
|
MessagingException (java.lang.String message,
java.lang.Exception exception)
Constructs a messaging exception with the specified exception and detail
message.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Throwable |
getCause () |
java.lang.Exception |
getNextException ()
Returns the next exception chained to this one.
|
boolean |
setNextException (java.lang.Exception exception)
Adds an exception to the end of the chain.
|
java.lang.String |
toString () |
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTraceclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic MessagingException()
public MessagingException(java.lang.String message)
message - the detail messagepublic MessagingException(java.lang.String message, java.lang.Exception exception)
message - the detail messageexception - the embedded exceptionpublic java.lang.Exception getNextException()
public java.lang.Throwable getCause()
getCause in class java.lang.Throwablepublic boolean setNextException(java.lang.Exception exception)
exception - the new end of the exception chainpublic java.lang.String toString()
toString in class java.lang.Throwable