Package mireka.smtp
Class RejectExceptionExt
- Object
-
- Throwable
-
- Exception
-
- mireka.smtp.RejectExceptionExt
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
UnknownUserException
public class RejectExceptionExt extends ExceptionIndicates that the SMTP command just received from a client must be rejected. This exception corresponds to the SubEthaSMTPRejectException, but it uses SMTP enhanced mail system status codes and it is a checked exception.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RejectExceptionExt(EnhancedStatus reply)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EnhancedStatusgetReply()org.subethamail.smtp.RejectExceptiontoRejectException()Converts this exception to a SubEthaSMTPRejectException.
-
-
-
Constructor Detail
-
RejectExceptionExt
public RejectExceptionExt(EnhancedStatus reply)
-
-
Method Detail
-
getReply
public EnhancedStatus getReply()
-
toRejectException
public org.subethamail.smtp.RejectException toRejectException()
Converts this exception to a SubEthaSMTPRejectException.- Returns:
- the
RejectExceptioncorresponding to this exception.
-
-