public class EmailException extends Exception
Supports nesting, emulating JDK 1.4 behavior if necessary.
Adapted from FunctorException in Commons Collections.
| Constructor and Description |
|---|
EmailException()
Constructs a new
EmailException with no
detail message. |
EmailException(String msg)
Constructs a new
EmailException with specified
detail message. |
EmailException(String msg,
Throwable rootCause)
Constructs a new
EmailException with specified
detail message and nested Throwable root cause. |
EmailException(Throwable rootCause)
Constructs a new
EmailException with specified
nested Throwable root cause. |
| Modifier and Type | Method and Description |
|---|---|
Throwable |
getCause()
Gets the cause of this throwable.
|
void |
printStackTrace()
Prints the stack trace of this exception to the standard error stream.
|
void |
printStackTrace(PrintStream out)
Prints the stack trace of this exception to the specified stream.
|
void |
printStackTrace(PrintWriter out)
Prints the stack trace of this exception to the specified writer.
|
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toStringpublic EmailException()
EmailException with no
detail message.public EmailException(String msg)
EmailException with specified
detail message.msg - the error message.public EmailException(Throwable rootCause)
EmailException with specified
nested Throwable root cause.rootCause - the exception or error that caused this exception
to be thrown.public Throwable getCause()
public void printStackTrace()
printStackTrace in class Throwablepublic void printStackTrace(PrintStream out)
printStackTrace in class Throwableout - the PrintStream to use for outputpublic void printStackTrace(PrintWriter out)
printStackTrace in class Throwableout - the PrintWriter to use for outputCopyright © 2001-2012 Apache Software Foundation. All Rights Reserved.