Package mireka.smtp

Class SendException

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    MxLookupException, RemoteMtaErrorResponseException

    public class SendException
    extends Exception
    Signals an error occurred while attempting to transmit a mail to a remote domain. Typically the remote system cannot be found in the DNS or it rejects the mail.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.util.Date failureDate  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      EnhancedStatus errorStatus()  
      String getLogId()  
      void initLogId​(String logId)
      It must be called if this exception gets logged.
      • 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
    • Field Detail

      • failureDate

        public final java.util.Date failureDate
    • Constructor Detail

      • SendException

        public SendException​(String message,
                             EnhancedStatus status)
      • SendException

        public SendException​(Throwable e,
                             EnhancedStatus status)
      • SendException

        public SendException​(String message,
                             Throwable e,
                             EnhancedStatus status)