org.openstreetmap.josm.gui.help
Class HelpContentReaderException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.openstreetmap.josm.gui.help.HelpContentReaderException
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- MissingHelpContentException
public class HelpContentReaderException
- extends java.lang.Exception
- See Also:
- Serialized Form
Method Summary |
int |
getResponseCode()
Replies the HTTP response code related to the wiki access exception. |
void |
setResponseCode(int responseCode)
Sets the HTTP response code |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
responseCode
private int responseCode
HelpContentReaderException
public HelpContentReaderException()
HelpContentReaderException
public HelpContentReaderException(java.lang.String message,
java.lang.Throwable cause)
HelpContentReaderException
public HelpContentReaderException(java.lang.String message)
HelpContentReaderException
public HelpContentReaderException(java.lang.Throwable cause)
getResponseCode
public int getResponseCode()
- Replies the HTTP response code related to the wiki access exception.
If no HTTP response code is available, 0 is replied.
- Returns:
- the http response code
setResponseCode
public void setResponseCode(int responseCode)
- Sets the HTTP response code
- Parameters:
responseCode
- the response code
JOSM