Package com.thalesgroup.gemalto.fido2
Class Fido2Exception
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.thalesgroup.gemalto.fido2.internal.EnhancedErrorCodeException
com.thalesgroup.gemalto.fido2.internal.EnhancedErrorCodeException.PropagatingException
com.thalesgroup.gemalto.fido2.Fido2Exception
- All Implemented Interfaces:
Serializable
public class Fido2Exception
extends com.thalesgroup.gemalto.fido2.internal.EnhancedErrorCodeException.PropagatingException
A custom exception thrown when a FIDO2 operation fails.
This exception provides a specific Fido2ErrorCode to identify the cause of the failure.
- Since:
- 1.0.0
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.thalesgroup.gemalto.fido2.internal.EnhancedErrorCodeException
com.thalesgroup.gemalto.fido2.internal.EnhancedErrorCodeException.PropagatingException -
Field Summary
Fields inherited from class com.thalesgroup.gemalto.fido2.internal.EnhancedErrorCodeException
additionalMessage, integerCode -
Constructor Summary
ConstructorsConstructorDescriptionFido2Exception(Fido2ErrorCode fido2ErrorCode, Throwable cause, String additionalMessage) -
Method Summary
Modifier and TypeMethodDescriptiongetError()Gets the specific error code that indicates why the operation failed.Gets the detailed error message.Methods inherited from class com.thalesgroup.gemalto.fido2.internal.EnhancedErrorCodeException.PropagatingException
getPropagatingMessageMethods inherited from class com.thalesgroup.gemalto.fido2.internal.EnhancedErrorCodeException
getConciseMessage, getFormattedIntegerCode, getIntegerCode, getIntegerCodeTraceMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
Fido2Exception
-
-
Method Details
-
getError
Gets the specific error code that indicates why the operation failed.- Returns:
- The
Fido2ErrorCodefor this exception. - Since:
- 1.0.0
-
getMessage
Gets the detailed error message.The message includes the error code, a description, and any additional details.
- Overrides:
getMessagein classcom.thalesgroup.gemalto.fido2.internal.EnhancedErrorCodeException.PropagatingException- Returns:
- The complete error message.
- Since:
- 1.0.0
-