org.openstreetmap.josm.gui.help
Class HelpContentReaderException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by 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

Field Summary
private  int responseCode
           
 
Constructor Summary
HelpContentReaderException()
           
HelpContentReaderException(java.lang.String message)
           
HelpContentReaderException(java.lang.String message, java.lang.Throwable cause)
           
HelpContentReaderException(java.lang.Throwable cause)
           
 
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
 

Field Detail

responseCode

private int responseCode
Constructor Detail

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)
Method Detail

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