FileDocCategorySizeDatePackage
SMTPConnectionClosedException.javaAPI DocApache Commons NET 1.4.1 API1725Sat Dec 03 10:05:50 GMT 2005org.apache.commons.net.smtp

SMTPConnectionClosedException

public final class SMTPConnectionClosedException extends IOException
SMTPConnectionClosedException is used to indicate the premature or unexpected closing of an SMTP connection resulting from a {@link org.apache.commons.net.smtp.SMTPReply#SERVICE_NOT_AVAILABLE SMTPReply.SERVICE_NOT_AVAILABLE } response (SMTP reply code 421) to a failed SMTP command. This exception is derived from IOException and therefore may be caught either as an IOException or specifically as an SMTPConnectionClosedException.

author
Daniel F. Savarese
see
SMTP
see
SMTPClient

Fields Summary
Constructors Summary
public SMTPConnectionClosedException()
Constructs a SMTPConnectionClosedException with no message

        super();
    
public SMTPConnectionClosedException(String message)
Constructs a SMTPConnectionClosedException with a specified message.

param
message The message explaining the reason for the exception.

        super(message);
    
Methods Summary