public final class HttpException extends Exception
| Constructor and Description |
|---|
HttpException(retrofit2.Response<?> response) |
| Modifier and Type | Method and Description |
|---|---|
int |
code()
HTTP status code.
|
String |
message()
HTTP status message.
|
retrofit2.Response<?> |
response()
The full HTTP response.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic int code()
public String message()
public retrofit2.Response<?> response()
Copyright © 2016. All Rights Reserved.