org.springframework.mail

Class MailException

    • Constructor Summary

      Constructors 
      Constructor and Description
      MailException(java.lang.String msg)
      Constructor for MailException.
      MailException(java.lang.String msg, java.lang.Throwable cause)
      Constructor for MailException.
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • MailException

        public MailException(java.lang.String msg)
        Constructor for MailException.
        Parameters:
        msg - the detail message
      • MailException

        public MailException(@Nullable
                             java.lang.String msg,
                             @Nullable
                             java.lang.Throwable cause)
        Constructor for MailException.
        Parameters:
        msg - the detail message
        cause - the root cause from the mail API in use