程序包 com.sh.mail.core

类 EmailException

所有已实现的接口:
Serializable

public class EmailException extends Exception

Description: Exception thrown when a checked error occurs in sh-email.

Title:首亨软件 - TSS/CRM等

从以下版本开始:
Aug 13, 2012
另请参阅:
  • 构造器详细资料

    • EmailException

      public EmailException()
      Constructs a new EmailException with no detail message.
    • EmailException

      public EmailException(String msg)
      Constructs a new EmailException with specified detail message.
      参数:
      msg - the error message.
    • EmailException

      public EmailException(Throwable rootCause)
      Constructs a new EmailException with specified nested Throwable root cause.
      参数:
      rootCause - the exception or error that caused this exception to be thrown.
    • EmailException

      public EmailException(String msg, Throwable rootCause)
      Constructs a new 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.
  • 方法详细资料

    • getCause

      public Throwable getCause()
      Gets the cause of this throwable.
      覆盖:
      getCause 在类中 Throwable
      返回:
      the cause of this throwable, or null
    • printStackTrace

      public void printStackTrace()
      Prints the stack trace of this exception to the standard error stream.
      覆盖:
      printStackTrace 在类中 Throwable
    • printStackTrace

      public void printStackTrace(PrintStream out)
      Prints the stack trace of this exception to the specified stream.
      覆盖:
      printStackTrace 在类中 Throwable
      参数:
      out - the PrintStream to use for output
    • printStackTrace

      public void printStackTrace(PrintWriter out)
      Prints the stack trace of this exception to the specified writer.
      覆盖:
      printStackTrace 在类中 Throwable
      参数:
      out - the PrintWriter to use for output