public class HttpException
extends java.lang.RuntimeException
Constructor and Description |
---|
HttpException(Response<?> response) |
Modifier and Type | Method and Description |
---|---|
int |
code()
HTTP status code.
|
java.lang.String |
message()
HTTP status message.
|
Response<?> |
response()
The full HTTP response.
|
public HttpException(Response<?> response)
public int code()
public java.lang.String message()
@Nullable public Response<?> response()