Class BankIdTraceableException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
se.swedenconnect.bankid.rpapi.types.BankIDException
se.swedenconnect.bankid.idp.authn.error.BankIdTraceableException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
BankIdValidationException
Exception class errors during BankID operations that we assign a trace ID to. This is useful for display purposes.
- Author:
- Martin Lindström, Felix Hellman
- See Also:
-
Constructor Summary
ConstructorDescriptionBankIdTraceableException
(String orderRef, String msg) Constructor.BankIdTraceableException
(String orderRef, String msg, Throwable cause) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionGets the BankID order reference.Gets the trace ID.Methods inherited from class se.swedenconnect.bankid.rpapi.types.BankIDException
getDetails, getErrorCode, setDetails, toString
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
BankIdTraceableException
Constructor.- Parameters:
orderRef
- the order referencemsg
- the error message
-
BankIdTraceableException
Constructor.- Parameters:
orderRef
- the order referencemsg
- the error messagecause
- the cause of the error
-
-
Method Details
-
getOrderRef
Gets the BankID order reference.- Returns:
- the BankID order reference
-
getTraceId
Gets the trace ID.- Returns:
- the trace ID
-