Package com.thalesgroup.gemalto.cas
Class CasException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.thalesgroup.gemalto.cas.CasException
- All Implemented Interfaces:
Serializable
The exception that will be thrown when a failure occurs during the CAS E2EE operation.
- Since:
- 6.1.0
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionConstructs CasException with ErrorCode.CasException(CasException.ErrorCode error, Throwable cause) Constructs CasException with ErrorCode and Throwable object. -
Method Summary
Modifier and TypeMethodDescriptiongetError()Returns the ErrorCode of the failed operation.Returns the details of the error.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
CasException
Constructs CasException with ErrorCode.- Parameters:
error- The error code
-
CasException
Constructs CasException with ErrorCode and Throwable object.- Parameters:
error- The error codecause- Throwable object
-
-
Method Details
-
getMessage
Returns the details of the error.- Overrides:
getMessagein classThrowable- Returns:
- The error message.
-
getError
Returns the ErrorCode of the failed operation.- Returns:
CasException.ErrorCode.
-