public class ApiException
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
class |
ApiException.ErrorCodes |
Constructor and Description |
---|
ApiException() |
Modifier and Type | Method and Description |
---|---|
boolean |
containsCause(java.lang.String code) |
java.util.List<Cause> |
getCause() |
java.lang.String |
getError() |
Cause |
getFirstCause() |
java.lang.String |
getMessage() |
int |
getStatus() |
boolean |
isRecoverable() |
void |
setCause(java.util.List<Cause> cause) |
void |
setError(java.lang.String error) |
void |
setMessage(java.lang.String message) |
void |
setStatus(int status) |
java.lang.String |
toString() |
public java.util.List<Cause> getCause()
public void setCause(java.util.List<Cause> cause)
public java.lang.String getError()
public void setError(java.lang.String error)
public java.lang.String getMessage()
public void setMessage(java.lang.String message)
public int getStatus()
public void setStatus(int status)
public boolean isRecoverable()
public boolean containsCause(java.lang.String code)
@Nullable public Cause getFirstCause()
public java.lang.String toString()
toString
in class java.lang.Object