Error

public class Error extends Object

This class is deprecated.
Please use Fido APIs instead.

Represents a U2F Error object.

Constant Summary

String JSON_ERROR_CODE
String JSON_ERROR_MESSAGE

Public Constructor Summary

Error(ErrorCode errorCode)
Error(ErrorCode errorCode, String errorMessage)

Public Method Summary

ErrorCode
String
JSONObject
String

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 Error (ErrorCode errorCode)

public Error (ErrorCode errorCode, String errorMessage)

Public Methods

public ErrorCode getErrorCode ()

public String getErrorMessage ()

public JSONObject toJsonObject ()

public String toString ()