Lines Matching defs: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).
46 * Constructs a new <code>HttpRetryException</code> from the
47 * specified response code and exception detail message
50 * @param code the HTTP response code from server.
52 public HttpRetryException(String detail, int code) {
54 responseCode = code;
58 * Constructs a new <code>HttpRetryException</code> with detail message
62 * @param code the HTTP response code from server.
65 public HttpRetryException(String detail, int code, String location) {
67 responseCode = code;
72 * Returns the http response code
74 * @return The http response code.