public class ApiException extends RuntimeException
| Constructor and Description |
|---|
ApiException(ApiError error) |
ApiException(ApiError error,
int status,
Throwable cause) |
ApiException(ApiError error,
Throwable cause) |
| Modifier and Type | Method and Description |
|---|---|
ApiError |
getError() |
String |
getMessage() |
int |
getStatus() |
void |
setError(ApiError error) |
void |
setStatus(int status) |
String |
toString() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic ApiException(ApiError error)
public int getStatus()
public void setStatus(int status)
public ApiError getError()
public void setError(ApiError error)
public String getMessage()
getMessage in class ThrowableCopyright © 2018. All rights reserved.