javax.mail
public class MessagingException extends Exception
Version: 1.4
Constructor Summary | |
---|---|
MessagingException()
Constructs a messaging exception with no detail message. | |
MessagingException(String message)
Constructs a messaging exception with the specified detail message. | |
MessagingException(String message, Exception exception)
Constructs a messaging exception with the specified exception and detail
message. |
Method Summary | |
---|---|
String | getMessage()
Returns the message, including the message from any nested exception. |
Exception | getNextException()
Returns the next exception chained to this one.
|
void | printStackTrace(PrintStream out) |
void | printStackTrace(PrintWriter out) |
boolean | setNextException(Exception exception)
Adds an exception to the end of the chain.
|
Parameters: message the detail message
Parameters: message the detail message exception the embedded exception
Parameters: exception the new end of the exception chain
Returns: true if this exception was added, false otherwise.