Class HelpContentReaderException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.openstreetmap.josm.gui.help.HelpContentReaderException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
MissingHelpContentException

Exception thrown when a problem occurs during help contents fetching.
Since:
2308
See Also:
  • Field Details

  • Constructor Details

    • HelpContentReaderException

      public HelpContentReaderException(String message, int responseCode)
      Constructs a new HelpContentReaderException.
      Parameters:
      message - the detail message. The detail message is saved for later retrieval by the Throwable.getMessage() method.
      responseCode - HTTP response code related to the wiki access exception (0 if not applicable)
    • HelpContentReaderException

      public HelpContentReaderException(Throwable cause, int responseCode)
      Constructs a new HelpContentReaderException.
      Parameters:
      cause - the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
      responseCode - HTTP response code related to the wiki access exception (0 if not applicable)
  • Method Details

    • getResponseCode

      public final 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