public class ApiException extends Exception
Modifier and Type | Class and Description |
---|---|
static class |
ApiException.Type |
Constructor and Description |
---|
ApiException(ApiException.Type type) |
ApiException(ApiException.Type type,
String detail) |
ApiException(ApiException.Type type,
String detail,
Throwable cause) |
ApiException(ApiException.Type type,
Throwable cause) |
Modifier and Type | Method and Description |
---|---|
ApiException.Type |
getType() |
String |
toString() |
String |
toString(API.Format format,
boolean incDetails) |
String |
toString(boolean incDetails) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public ApiException(ApiException.Type type)
public ApiException(ApiException.Type type, Throwable cause)
public ApiException(ApiException.Type type, String detail)
public ApiException(ApiException.Type type, String detail, Throwable cause)
public ApiException.Type getType()
public String toString(boolean incDetails)
public String toString(API.Format format, boolean incDetails)