public final class SMTPConnectionClosedException extends 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 FormConstructor and Description |
---|
SMTPConnectionClosedException()
Constructs a SMTPConnectionClosedException with no message
|
SMTPConnectionClosedException(String message)
Constructs a SMTPConnectionClosedException with a specified message.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public SMTPConnectionClosedException()
public SMTPConnectionClosedException(String message)
message
- The message explaining the reason for the exception.Copyright © 2001–2022 The Apache Software Foundation. All rights reserved.