程序包 com.sh.mail.core
类 EmailException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.sh.mail.core.EmailException
- 所有已实现的接口:
Serializable
Description: Exception thrown when a checked error occurs in sh-email.
Title:首亨软件 - TSS/CRM等
- 从以下版本开始:
- Aug 13, 2012
- 另请参阅:
-
构造器概要
构造器构造器说明Constructs a newEmailExceptionwith no detail message.EmailException(String msg) Constructs a newEmailExceptionwith specified detail message.EmailException(String msg, Throwable rootCause) Constructs a newEmailExceptionwith specified detail message and nestedThrowableroot cause.EmailException(Throwable rootCause) Constructs a newEmailExceptionwith specified nestedThrowableroot cause. -
方法概要
修饰符和类型方法说明getCause()Gets the cause of this throwable.voidPrints the stack trace of this exception to the standard error stream.voidPrints the stack trace of this exception to the specified stream.voidPrints the stack trace of this exception to the specified writer.从类继承的方法 java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toString
-
构造器详细资料
-
EmailException
public EmailException()Constructs a newEmailExceptionwith no detail message. -
EmailException
Constructs a newEmailExceptionwith specified detail message.- 参数:
msg- the error message.
-
EmailException
Constructs a newEmailExceptionwith specified nestedThrowableroot cause.- 参数:
rootCause- the exception or error that caused this exception to be thrown.
-
EmailException
Constructs a newEmailExceptionwith specified detail message and nestedThrowableroot cause.- 参数:
msg- the error message.rootCause- the exception or error that caused this exception to be thrown.
-
-
方法详细资料
-
getCause
Gets the cause of this throwable. -
printStackTrace
public void printStackTrace()Prints the stack trace of this exception to the standard error stream.- 覆盖:
printStackTrace在类中Throwable
-
printStackTrace
Prints the stack trace of this exception to the specified stream.- 覆盖:
printStackTrace在类中Throwable- 参数:
out- thePrintStreamto use for output
-
printStackTrace
Prints the stack trace of this exception to the specified writer.- 覆盖:
printStackTrace在类中Throwable- 参数:
out- thePrintWriterto use for output
-