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

Last change on this file since 3408 was 3408, checked in by jttt, 14 years ago

Show only actions that can work on all selected layers in LayerListDialog popup menu

  • Property svn:eol-style set to native
File size: 1005 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() {
8 super();
9 }
10
11 public HelpContentReaderException(String message, Throwable cause) {
12 super(message, cause);
13 }
14
15 public HelpContentReaderException(String message) {
16 super(message);
17 }
18
19 public HelpContentReaderException(Throwable cause) {
20 super(cause);
21 }
22
23 /**
24 * Replies the HTTP response code related to the wiki access exception.
25 * If no HTTP response code is available, 0 is replied.
26 *
27 * @return the http response code
28 */
29 public int getResponseCode() {
30 return responseCode;
31 }
32
33 /**
34 * Sets the HTTP response code
35 *
36 * @param responseCode the response code
37 */
38 public void setResponseCode(int responseCode) {
39 this.responseCode = responseCode;
40 }
41
42}
Note: See TracBrowser for help on using the repository browser.