public class WebAuthnResponseException
extends java.lang.Exception
AuthenticatorErrorResponse| Constructor and Description |
|---|
WebAuthnResponseException(AuthenticatorErrorResponse authenticatorErrorResponse)
Constructs a new exception with the specified
AuthenticatorErrorResponse |
WebAuthnResponseException(ErrorCode errorCode,
java.lang.String message)
Constructs a new exception with the specified
AuthenticatorErrorResponse |
| Modifier and Type | Method and Description |
|---|---|
ErrorCode |
getErrorCode() |
int |
getErrorCodeAsInt() |
java.lang.String |
toServerError()
Server error string representation of this error.
|
public WebAuthnResponseException(AuthenticatorErrorResponse authenticatorErrorResponse)
AuthenticatorErrorResponseauthenticatorErrorResponse - the AuthenticatorErrorResponsepublic WebAuthnResponseException(ErrorCode errorCode,
java.lang.String message)
AuthenticatorErrorResponseerrorCode - the ErrorCodemessage - the detail messagepublic java.lang.String toServerError()
public ErrorCode getErrorCode()
public int getErrorCodeAsInt()