public class HttpException extends RuntimeException
| Constructor and Description |
|---|
HttpException(Response<?> response) |
| Modifier and Type | Method and Description |
|---|---|
int |
code()
HTTP status code.
|
String |
message()
HTTP status message.
|
Response<?> |
response()
The full HTTP response.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringCopyright © 2017 Square, Inc.. All rights reserved.