Class LocalMailSystemException

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    QueueStorageException

    public class LocalMailSystemException
    extends Exception
    Signals a failure within the scope of this installation, in which the SMTP protocol is not involved.

    Failures can be transient or permanent. For example disk full is a transient error. Transient status is indicated by the errorStatus() value. Processing which was stopped by a transient exception should be retried later. There should be a limit on the count of attempts, except if it is not only likely, but it is sure, that the condition is temporary.

    See Also:
    RFC 3463 Enhanced Mail System Status Codes, Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      EnhancedStatus errorStatus()  
      • 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

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

      • LocalMailSystemException

        public LocalMailSystemException​(EnhancedStatus errorStatus)
        Constructs a new exception where the message is coming from the EnhancedStatus.
      • LocalMailSystemException

        public LocalMailSystemException​(String message,
                                        EnhancedStatus errorStatus)
        Constructs a new exception with the specified detail message.
      • LocalMailSystemException

        public LocalMailSystemException​(Throwable cause,
                                        EnhancedStatus errorStatus)
        Constructs a new exception where the message is coming from the supplied exception.