org.subethamail.smtp
Class RejectException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.subethamail.smtp.RejectException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- DropConnectionException
public class RejectException
- extends RuntimeException
Thrown to reject an SMTP command with a specific code.
- Author:
- Jeff Schnitzer
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
RejectException
public RejectException()
RejectException
public RejectException(String message)
RejectException
public RejectException(int code,
String message)
getCode
public int getCode()
getErrorResponse
public String getErrorResponse()
Copyright © 2006-2012. All Rights Reserved.