java.io.Serializablepublic class EmailException extends java.lang.Exception
Adapted from FunctorException in Commons Collections.
Emulation support for nested exceptions has been removed in Email 1.3,
supported by JDK ≥ 1.4.
| Constructor | Description |
|---|---|
EmailException() |
Constructs a new
EmailException with no
detail message. |
EmailException(java.lang.String msg) |
Constructs a new
EmailException with specified
detail message. |
EmailException(java.lang.String msg,
java.lang.Throwable rootCause) |
Constructs a new
EmailException with specified
detail message and nested Throwable root cause. |
EmailException(java.lang.Throwable rootCause) |
Constructs a new
EmailException with specified
nested Throwable root cause. |
| Modifier and Type | Method | Description |
|---|---|---|
void |
printStackTrace() |
Prints the stack trace of this exception to the standard error stream.
|
void |
printStackTrace(java.io.PrintStream out) |
Prints the stack trace of this exception to the specified stream.
|
void |
printStackTrace(java.io.PrintWriter out) |
Prints the stack trace of this exception to the specified writer.
|
public EmailException()
EmailException with no
detail message.public EmailException(java.lang.String msg)
EmailException with specified
detail message.msg - the error message.public EmailException(java.lang.Throwable rootCause)
EmailException with specified
nested Throwable root cause.rootCause - the exception or error that caused this exception
to be thrown.public EmailException(java.lang.String msg, java.lang.Throwable rootCause)
EmailException with specified
detail message and nested Throwable root cause.msg - the error message.rootCause - the exception or error that caused this exception
to be thrown.public void printStackTrace()
printStackTrace in class java.lang.Throwablepublic void printStackTrace(java.io.PrintStream out)
printStackTrace in class java.lang.Throwableout - the PrintStream to use for outputpublic void printStackTrace(java.io.PrintWriter out)
printStackTrace in class java.lang.Throwableout - the PrintWriter to use for output