The specific error code can be retrieved with getReplyCode().
| Modifier and Type | Field and Description |
|---|---|
| private final FtpReplyCode | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | FtpProtocolException(String
the detail message. detail)Constructs a new |
| public | FtpProtocolException(String
the detail message. detail, FtpReplyCode The code)FtpRelyCode received from server.Constructs a new |
| Modifier and Type | Method and Description |
|---|---|
| public FtpReplyCode | Returns: TheFtpReplyCode associated with that exception.Gets the reply code sent by the server that led to this exception being thrown. |
| code | back to summary |
|---|---|
| private final FtpReplyCode code | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides java. | |
| FtpProtocolException | back to summary |
|---|---|
| public FtpProtocolException(String detail) Constructs a new
| |
| FtpProtocolException | back to summary |
|---|---|
| public FtpProtocolException(String detail, FtpReplyCode code) Constructs a new
| |
| getReplyCode | back to summary |
|---|---|
| public FtpReplyCode getReplyCode() Gets the reply code sent by the server that led to this exception being thrown.
| |