public static class BrktRestClient.HttpError extends Exception
| Modifier and Type | Field and Description |
|---|---|
String |
message
The message from the status line returned by the server.
|
byte[] |
payload
The payload returned by the server.
|
int |
status
The HTTP status code returned by the server.
|
| Constructor and Description |
|---|
HttpError(int status,
String message,
byte[] payload) |
| Modifier and Type | Method and Description |
|---|---|
String |
getMessage() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic final int status
public final String message
public final byte[] payload
public HttpError(int status,
String message,
byte[] payload)
public String getMessage()
getMessage in class ThrowableCopyright © 2015. All rights reserved.