public class ApiException extends Exception
| Constructor and Description |
|---|
ApiException(String message,
int statusCode) |
| Modifier and Type | Method and Description |
|---|---|
ApiError |
getError() |
int |
getStatusCode() |
void |
setError(ApiError error) |
void |
setStatusCode(int statusCode) |
String |
toString() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic ApiException(String message, int statusCode)
Copyright © 2019. All rights reserved.