public class BraintreeApiErrorResponse
extends java.lang.Exception
implements android.os.Parcelable
BraintreeApiErrorResponse
parses the server's error response and exposes the errors.Modifier and Type | Field and Description |
---|---|
static android.os.Parcelable.Creator<BraintreeApiErrorResponse> |
CREATOR |
Modifier | Constructor and Description |
---|---|
protected |
BraintreeApiErrorResponse(android.os.Parcel in) |
|
BraintreeApiErrorResponse(java.lang.String jsonString) |
Modifier and Type | Method and Description |
---|---|
int |
describeContents() |
java.lang.String |
getErrorResponse() |
java.util.List<BraintreeApiError> |
getErrors() |
java.lang.String |
getMessage() |
void |
writeToParcel(android.os.Parcel dest,
int flags) |
public static final android.os.Parcelable.Creator<BraintreeApiErrorResponse> CREATOR
public BraintreeApiErrorResponse(java.lang.String jsonString)
protected BraintreeApiErrorResponse(android.os.Parcel in)
public java.lang.String getMessage()
getMessage
in class java.lang.Throwable
public java.lang.String getErrorResponse()
String
.public java.util.List<BraintreeApiError> getErrors()
BraintreeApiError
s.public int describeContents()
describeContents
in interface android.os.Parcelable
public void writeToParcel(android.os.Parcel dest, int flags)
writeToParcel
in interface android.os.Parcelable