public class HelpContentReaderException extends java.lang.Exception
Modifier and Type | Field and Description |
---|---|
private int |
responseCode |
Constructor and Description |
---|
HelpContentReaderException(java.lang.String message,
int responseCode)
Constructs a new
HelpContentReaderException . |
HelpContentReaderException(java.lang.Throwable cause,
int responseCode)
Constructs a new
HelpContentReaderException . |
Modifier and Type | Method and Description |
---|---|
int |
getResponseCode()
Replies the HTTP response code related to the wiki access exception.
|
private final int responseCode
public HelpContentReaderException(java.lang.String message, int responseCode)
HelpContentReaderException
.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)public HelpContentReaderException(java.lang.Throwable cause, int responseCode)
HelpContentReaderException
.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)public final int getResponseCode()