Changeset 8509 in josm for trunk/src/org/openstreetmap/josm/io/OsmApiException.java
- Timestamp:
- 2015-06-20T14:36:00+02:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/OsmApiException.java
r8390 r8509 16 16 /** 17 17 * Constructs an {@code OsmApiException} with the specified response code, error header and error body 18 * @param responseCode The HTTP response code replied by the OSM server. See {@link java.net.HttpURLConnection HttpURLConnection} for predefined HTTP response code values 18 * @param responseCode The HTTP response code replied by the OSM server. 19 * See {@link java.net.HttpURLConnection HttpURLConnection} for predefined HTTP response code values 19 20 * @param errorHeader The error header, as transmitted in the {@code Error} field of the HTTP response header 20 21 * @param errorBody The error body, as transmitted in the HTTP response body … … 31 32 /** 32 33 * Constructs an {@code OsmApiException} with the specified response code, error header and error body 33 * @param responseCode The HTTP response code replied by the OSM server. See {@link java.net.HttpURLConnection HttpURLConnection} for predefined HTTP response code values 34 * @param responseCode The HTTP response code replied by the OSM server. 35 * See {@link java.net.HttpURLConnection HttpURLConnection} for predefined HTTP response code values 34 36 * @param errorHeader The error header, as transmitted in the {@code Error} field of the HTTP response header 35 37 * @param errorBody The error body, as transmitted in the HTTP response body … … 78 80 /** 79 81 * Replies the HTTP response code. 80 * @return The HTTP response code replied by the OSM server. Refer to <a href="http://wiki.openstreetmap.org/wiki/API_v0.6">OSM API</a> to see the list of response codes returned by the API for each call. 82 * @return The HTTP response code replied by the OSM server. Refer to 83 * <a href="http://wiki.openstreetmap.org/wiki/API_v0.6">OSM API</a> to see the list of response codes returned by the API for each call. 81 84 */ 82 85 public int getResponseCode() { … … 86 89 /** 87 90 * Sets the HTTP response code. 88 * @param responseCode The HTTP response code replied by the OSM server. See {@link java.net.HttpURLConnection HttpURLConnection} for predefined HTTP response code values 91 * @param responseCode The HTTP response code replied by the OSM server. 92 * See {@link java.net.HttpURLConnection HttpURLConnection} for predefined HTTP response code values 89 93 */ 90 94 public void setResponseCode(int responseCode) { … … 175 179 176 180 /** 177 * Sets the complete URL accessed when this error occured. This is distinct from the one set with {@link #setUrl}, which is generally only the base URL of the server. 181 * Sets the complete URL accessed when this error occured. 182 * This is distinct from the one set with {@link #setUrl}, which is generally only the base URL of the server. 178 183 * @param url the complete URL accessed when this error occured. 179 184 */ … … 183 188 184 189 /** 185 * Replies the complete URL accessed when this error occured. This is distinct from the one returned by {@link #getUrl}, which is generally only the base URL of the server. 190 * Replies the complete URL accessed when this error occured. 191 * This is distinct from the one returned by {@link #getUrl}, which is generally only the base URL of the server. 186 192 * @return the complete URL accessed when this error occured. 187 193 */
Note:
See TracChangeset
for help on using the changeset viewer.
