Package mireka.smtp

Class RejectExceptionExt

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

    public class RejectExceptionExt
    extends Exception
    Indicates that the SMTP command just received from a client must be rejected. This exception corresponds to the SubEthaSMTP RejectException, but it uses SMTP enhanced mail system status codes and it is a checked exception.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      EnhancedStatus getReply()  
      org.subethamail.smtp.RejectException toRejectException()
      Converts this exception to a SubEthaSMTP RejectException.
      • 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

      • RejectExceptionExt

        public RejectExceptionExt​(EnhancedStatus reply)
    • Method Detail

      • toRejectException

        public org.subethamail.smtp.RejectException toRejectException()
        Converts this exception to a SubEthaSMTP RejectException.
        Returns:
        the RejectException corresponding to this exception.