com.hs.mail.smtp
Class SmtpException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.hs.mail.smtp.SmtpException
All Implemented Interfaces:
Serializable

public class SmtpException
extends RuntimeException

Since:
May 30, 2010
Author:
Won Chul Doh
See Also:
Serialized Form

Field Summary
static String ALREADY_AUTHENTICATED
           
static String AUTH_FAILED
           
static String AUTH_REQUIRED
           
static String AUTHTYPE_NOT_SUPPORTED
           
static String CANNOT_DECODE_PARAM
           
static String COMMAND_OUT_OF_SEQUENCE
           
static String DOMAIN_NAME_LENGTH_LIMIT
           
static String EXPN_NOT_SUPPORTED
           
static String INVALID_COMMAND_PARAM
           
static String INVALID_SIZE_PARAM
           
static String MESSAGE_SIZE_LIMIT
           
static String MISSING_DOMAIN_ADDRESS
           
static String MISSING_RECIPIENT_ADDRESS
           
static String MISSING_SENDER_ADDRESS
           
static String NO_VALID_RECIPIENTS
           
static String RECIPIENTS_COUNT_LIMIT
           
static String RELAY_DENIED
           
static String VRFY_NOT_SUPPORTED
           
 
Constructor Summary
SmtpException()
          Constructor for SmtpException.
SmtpException(String message)
          Constructor for SmtpException.
SmtpException(String message, Throwable cause)
          Constructor for SmtpException.
SmtpException(Throwable cause)
          Constructor for SmtpException.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, 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

RECIPIENTS_COUNT_LIMIT

public static final String RECIPIENTS_COUNT_LIMIT
See Also:
Constant Field Values

DOMAIN_NAME_LENGTH_LIMIT

public static final String DOMAIN_NAME_LENGTH_LIMIT
See Also:
Constant Field Values

CANNOT_DECODE_PARAM

public static final String CANNOT_DECODE_PARAM
See Also:
Constant Field Values

INVALID_SIZE_PARAM

public static final String INVALID_SIZE_PARAM
See Also:
Constant Field Values

INVALID_COMMAND_PARAM

public static final String INVALID_COMMAND_PARAM
See Also:
Constant Field Values

MISSING_DOMAIN_ADDRESS

public static final String MISSING_DOMAIN_ADDRESS
See Also:
Constant Field Values

MISSING_RECIPIENT_ADDRESS

public static final String MISSING_RECIPIENT_ADDRESS
See Also:
Constant Field Values

MISSING_SENDER_ADDRESS

public static final String MISSING_SENDER_ADDRESS
See Also:
Constant Field Values

EXPN_NOT_SUPPORTED

public static final String EXPN_NOT_SUPPORTED
See Also:
Constant Field Values

VRFY_NOT_SUPPORTED

public static final String VRFY_NOT_SUPPORTED
See Also:
Constant Field Values

ALREADY_AUTHENTICATED

public static final String ALREADY_AUTHENTICATED
See Also:
Constant Field Values

MESSAGE_SIZE_LIMIT

public static final String MESSAGE_SIZE_LIMIT
See Also:
Constant Field Values

COMMAND_OUT_OF_SEQUENCE

public static final String COMMAND_OUT_OF_SEQUENCE
See Also:
Constant Field Values

AUTHTYPE_NOT_SUPPORTED

public static final String AUTHTYPE_NOT_SUPPORTED
See Also:
Constant Field Values

AUTH_REQUIRED

public static final String AUTH_REQUIRED
See Also:
Constant Field Values

AUTH_FAILED

public static final String AUTH_FAILED
See Also:
Constant Field Values

RELAY_DENIED

public static final String RELAY_DENIED
See Also:
Constant Field Values

NO_VALID_RECIPIENTS

public static final String NO_VALID_RECIPIENTS
See Also:
Constant Field Values
Constructor Detail

SmtpException

public SmtpException()
Constructor for SmtpException.


SmtpException

public SmtpException(String message)
Constructor for SmtpException.

Parameters:
message -

SmtpException

public SmtpException(String message,
                     Throwable cause)
Constructor for SmtpException.

Parameters:
message -
cause -

SmtpException

public SmtpException(Throwable cause)
Constructor for SmtpException.

Parameters:
cause -


Copyright © 2011. All Rights Reserved.