Savarese.Org HomeORO HomeSavarese.Org/ORO Logo

com.oroinc.net.smtp
Class SMTPConnectionClosedException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.io.IOException
                    |
                    +--com.oroinc.net.smtp.SMTPConnectionClosedException
All Implemented Interfaces:
java.io.Serializable

public final class SMTPConnectionClosedException
extends java.io.IOException

SMTPConnectionClosedException is used to indicate the premature or unexpected closing of an SMTP connection resulting from a 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 Also:
SMTP, SMTPClient, Serialized Form

Constructor Summary
SMTPConnectionClosedException()
          Constructs a SMTPConnectionClosedException with no message
SMTPConnectionClosedException(java.lang.String message)
          Constructs a SMTPConnectionClosedException with a specified message.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SMTPConnectionClosedException

public SMTPConnectionClosedException()
Constructs a SMTPConnectionClosedException with no message

SMTPConnectionClosedException

public SMTPConnectionClosedException(java.lang.String message)
Constructs a SMTPConnectionClosedException with a specified message.

Parameters:
message - The message explaining the reason for the exception.

Savarese.Org HomeORO HomeSavarese.Org/ORO Logo

Copyright © 1997-2002 Daniel F. Savarese. All Rights Reserved.