Home | History | Annotate | Download | only in ftp

Lines Matching refs:code

5  * This code is free software; you can redistribute it and/or modify it
9 * by Oracle in the LICENSE file that accompanied this code.
11 * This code is distributed in the hope that it will be useful, but WITHOUT
15 * accompanied this code).
31 * <p>The specific error code can be retreived with {@link #getReplyCode() }.</p>
36 private final FtpReplyCode code;
39 * Constructs a new {@code FtpProtocolException} from the
40 * specified detail message. The reply code is set to unknow error.
46 code = FtpReplyCode.UNKNOWN_ERROR;
50 * Constructs a new {@code FtpProtocolException} from the
51 * specified response code and exception detail message
54 * @param code The {@code FtpRelyCode} received from server.
56 public FtpProtocolException(String detail, FtpReplyCode code) {
58 this.code = code;
62 * Gets the reply code sent by the server that led to this exception
68 return code;