public class FTPConnectionClosedException extends IOException
FTPReply.SERVICE_NOT_AVAILABLE
response (FTP reply code 421) to a failed FTP command. This
exception is derived from IOException and therefore may be caught either as an IOException or specifically as an FTPConnectionClosedException.FTP
,
FTPClient
,
Serialized FormConstructor and Description |
---|
FTPConnectionClosedException()
Constructs a FTPConnectionClosedException with no message
|
FTPConnectionClosedException(String message)
Constructs a FTPConnectionClosedException with a specified message.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public FTPConnectionClosedException()
public FTPConnectionClosedException(String message)
message
- The message explaining the reason for the exception.Copyright © 2001–2022 The Apache Software Foundation. All rights reserved.