ErrorResponseData

public class ErrorResponseData extends ResponseData

Represents a U2F Error Response Data object.

Constant Summary

String JSON_ERROR_CODE
String JSON_ERROR_MESSAGE

Inherited Constant Summary

Public Constructor Summary

ErrorResponseData(ErrorCode errorCode, String errorMessage)

Public Method Summary

boolean
ErrorCode
int
String
int
JSONObject
String
void
writeToParcel(Parcel dest, int flags)

Inherited Method Summary

Constants

public static final String JSON_ERROR_CODE

Constant Value: "errorCode"

public static final String JSON_ERROR_MESSAGE

Constant Value: "errorMessage"

Public Constructors

public ErrorResponseData (ErrorCode errorCode)

public ErrorResponseData (ErrorCode errorCode, String errorMessage)

Public Methods

public boolean equals (Object o)

public ErrorCode getErrorCode ()

public int getErrorCodeAsInt ()

public String getErrorMessage ()

public int hashCode ()

public JSONObject toJsonObject ()

public String toString ()

public void writeToParcel (Parcel dest, int flags)