public class LineApiError
extends java.lang.Object
implements android.os.Parcelable
| Modifier and Type | Field and Description |
|---|---|
static android.os.Parcelable.Creator<LineApiError> |
CREATOR |
static LineApiError |
DEFAULT |
| Constructor and Description |
|---|
LineApiError(java.lang.Exception e) |
LineApiError(int httpResponseCode,
java.lang.Exception e) |
LineApiError(int httpResponseCode,
java.lang.String message) |
LineApiError(java.lang.String message) |
| Modifier and Type | Method and Description |
|---|---|
int |
describeContents() |
boolean |
equals(java.lang.Object o) |
int |
getHttpResponseCode()
Gets the response code associated with the API error.
|
java.lang.String |
getMessage()
Gets the error message associated with the API error.
|
int |
hashCode() |
java.lang.String |
toString() |
void |
writeToParcel(android.os.Parcel dest,
int flags) |
public static final android.os.Parcelable.Creator<LineApiError> CREATOR
public static final LineApiError DEFAULT
public LineApiError(java.lang.Exception e)
public LineApiError(java.lang.String message)
public LineApiError(int httpResponseCode,
java.lang.Exception e)
public LineApiError(int httpResponseCode,
java.lang.String message)
public void writeToParcel(android.os.Parcel dest,
int flags)
writeToParcel in interface android.os.Parcelablepublic int describeContents()
describeContents in interface android.os.Parcelablepublic int getHttpResponseCode()
public java.lang.String getMessage()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object