Module dev.eidentification.bankid
Class BankIdApiErrorException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
dev.eidentification.bankid.exceptions.BankIdException
dev.eidentification.bankid.exceptions.BankIdApiErrorException
- All Implemented Interfaces:
Serializable
BankIdApiErrorException is a subclass of BankIdException that represents an error encountered
from the BankId API. It contains the error response from the API.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionRetrieves the error response associated with the BankIdApiErrorException.static BankIdApiErrorException
of
(ErrorResponse response) Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Method Details
-
of
-
getResponse
Retrieves the error response associated with the BankIdApiErrorException.- Returns:
- The error response associated with this exception.
-