public class Error extends java.lang.Object implements JsonSerializable
| Modifier and Type | Field and Description |
|---|---|
static Error |
JsBadRequestErr |
static Error |
JsNoMessageFoundErr |
static int |
NOT_SET |
| Modifier and Type | Method and Description |
|---|---|
static Error |
convert(Status status) |
int |
getApiErrorCode() |
int |
getCode() |
java.lang.String |
getDescription() |
java.lang.String |
toJson() |
JsonValue |
toJsonValue() |
java.lang.String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitserializepublic static final int NOT_SET
public static final Error JsBadRequestErr
public static final Error JsNoMessageFoundErr
public java.lang.String toJson()
toJson in interface JsonSerializablepublic JsonValue toJsonValue()
toJsonValue in interface JsonSerializablepublic int getCode()
public int getApiErrorCode()
public java.lang.String getDescription()
public java.lang.String toString()
toString in class java.lang.Object