public class ApiException extends Exception
Constructor and Description |
---|
ApiException() |
ApiException(int code,
String message) |
Modifier and Type | Method and Description |
---|---|
int |
getCode() |
String |
getMessage() |
void |
setCode(int code) |
void |
setMessage(String message) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ApiException()
public ApiException(int code, String message)
public int getCode()
public String getMessage()
getMessage
in class Throwable
public void setCode(int code)
public void setMessage(String message)
Copyright © 2015. All rights reserved.