com.app55.error
Class ApiException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.app55.error.ApiException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- InvalidSignatureException, RequestException
public class ApiException
- extends RuntimeException
- See Also:
- Serialized Form
toString
public String toString()
- Overrides:
toString in class Throwable
createException
public static ApiException createException(Map<String,Object> error)
createException
public static ApiException createException(String message,
Long code)
getMessage
public String getMessage()
- Overrides:
getMessage in class Throwable
getCode
public Long getCode()
getBody
public Map<String,Object> getBody()
Copyright © 2013. All Rights Reserved.