public final class SMTPConnectionClosedException
extends java.io.IOException
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.SMTP,
SMTPClient,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
private static long |
serialVersionUID |
| Constructor and Description |
|---|
SMTPConnectionClosedException()
Constructs a SMTPConnectionClosedException with no message
|
SMTPConnectionClosedException(java.lang.String message)
Constructs a SMTPConnectionClosedException with a specified message.
|
private static final long serialVersionUID
public SMTPConnectionClosedException()
public SMTPConnectionClosedException(java.lang.String message)
message - The message explaining the reason for the exception.