public class ApiException extends RuntimeException
| Modifier and Type | Method and Description |
|---|---|
static ApiException |
createException(Map<String,Object> error) |
static ApiException |
createException(String message,
Long code) |
Map<String,Object> |
getBody() |
Long |
getCode() |
String |
getMessage() |
String |
toString() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic static ApiException createException(Map<String,Object> error)
public static ApiException createException(String message, Long code)
public String getMessage()
getMessage in class Throwablepublic Long getCode()
Copyright © 2014. All Rights Reserved.