Class 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:
  • Constructor Details

    • RejectException

      public RejectException()
    • RejectException

      public RejectException(String message)
    • RejectException

      public RejectException(int code, String message)
  • Method Details

    • getCode

      public int getCode()
    • getErrorResponse

      public String getErrorResponse()