source: josm/trunk/src/org/openstreetmap/josm/gui/help/HelpContentReaderException.java@ 10008

Last change on this file since 10008 was 6987, checked in by Don-vip, 10 years ago

sonar - fix some more issues

  • Property svn:eol-style set to native
File size: 938 bytes
Line 
1// License: GPL. For details, see LICENSE file.
2package org.openstreetmap.josm.gui.help;
3
4public class HelpContentReaderException extends Exception {
5 private int responseCode;
6
7 public HelpContentReaderException(String message, Throwable cause) {
8 super(message, cause);
9 }
10
11 public HelpContentReaderException(String message) {
12 super(message);
13 }
14
15 public HelpContentReaderException(Throwable cause) {
16 super(cause);
17 }
18
19 /**
20 * Replies the HTTP response code related to the wiki access exception.
21 * If no HTTP response code is available, 0 is replied.
22 *
23 * @return the http response code
24 */
25 public int getResponseCode() {
26 return responseCode;
27 }
28
29 /**
30 * Sets the HTTP response code
31 *
32 * @param responseCode the response code
33 */
34 public void setResponseCode(int responseCode) {
35 this.responseCode = responseCode;
36 }
37}
Note: See TracBrowser for help on using the repository browser.