| Modifier and Type | Field and Description |
|---|---|
| private Exception | next
The next exception in the chain. |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | |
| public | MessagingException(String
the detail message s)Constructs a MessagingException with the specified detail message. |
| public | MessagingException(String
the detail message s, Exception the embedded exception e)Constructs a MessagingException with the specified Exception and detail message. |
| Modifier and Type | Method and Description |
|---|---|
| public synchronized Throwable | Returns: next Exception, null if none.Overrides java. getCause method of Throwable
to return the next exception in the chain of nested exceptions.
|
| public synchronized Exception | |
| public synchronized boolean | Returns: true if this Exception
was added, false otherwise.the new end of the Exception chain ex)Add an exception to the end of the chain. |
| private final String | superToString()
Return the "toString" information for this exception, without any information on nested exceptions. |
| public synchronized String | toString()
Overrides java. |
| next | back to summary |
|---|---|
| private Exception next The next exception in the chain. | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| MessagingException | back to summary |
|---|---|
| public MessagingException() Constructs a MessagingException with no detail message. | |
| MessagingException | back to summary |
|---|---|
| public MessagingException(String s) Constructs a MessagingException with the specified detail message.
| |
| MessagingException | back to summary |
|---|---|
| public MessagingException(String s, Exception e) Constructs a MessagingException with the specified Exception and detail message. The specified exception is chained to this exception.
| |
| getCause | back to summary |
|---|---|
| public synchronized Throwable getCause() Overrides java. Overrides the | |
| getNextException | back to summary |
|---|---|
| public synchronized Exception getNextException() Get the next exception chained to this one. If the next exception is a MessagingException, the chain may extend further.
| |
| setNextException | back to summary |
|---|---|
| public synchronized boolean setNextException(Exception ex) Add an exception to the end of the chain. If the end is not a MessagingException, this exception cannot be added to the end.
| |
| superToString | back to summary |
|---|---|
| private final String superToString() Return the "toString" information for this exception, without any information on nested exceptions. | |
| toString | back to summary |
|---|---|
| public synchronized String toString() Overrides java. Override toString method to provide information on nested exceptions.
| |