public class ApiException extends RuntimeException
| Constructor and Description |
|---|
ApiException(int code,
String message) |
| Modifier and Type | Method and Description |
|---|---|
int |
getCode() |
String |
getMessage() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic ApiException(int code,
String message)
public int getCode()
public String getMessage()
getMessage in class ThrowableCopyright © 2016. All rights reserved.