Class EmailServiceException

  • All Implemented Interfaces:
    java.io.Serializable

    public class EmailServiceException
    extends java.lang.Exception
    This exception is thrown by email providers in case of error.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      EmailServiceException()
      Default constructor
      EmailServiceException​(java.lang.String message)
      Constructor that takes error message as argument
      EmailServiceException​(java.lang.String message, java.lang.Throwable throwable)
      Constructor that takes error message and Throwable root cause as argument.
      EmailServiceException​(java.lang.Throwable throwable)
      Constructor that takes the Throwable root cause as argument.
    • Method Summary

      • Methods inherited from class java.lang.Throwable

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

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

      • EmailServiceException

        public EmailServiceException()
        Default constructor
      • EmailServiceException

        public EmailServiceException​(java.lang.String message)
        Constructor that takes error message as argument
        Parameters:
        message - The error message
      • EmailServiceException

        public EmailServiceException​(java.lang.Throwable throwable)
        Constructor that takes the Throwable root cause as argument.
        Parameters:
        throwable - The root cause Throwable instance.
      • EmailServiceException

        public EmailServiceException​(java.lang.String message,
                                     java.lang.Throwable throwable)
        Constructor that takes error message and Throwable root cause as argument.
        Parameters:
        message - The error message
        throwable - The root cause Throwable instance.