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, toString
public HttpException(Response<?> response)
Copyright © 2020 Square, Inc.. All rights reserved.