Module dev.eidentification.bankid
Class BankIdException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
dev.eidentification.bankid.exceptions.BankIdException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
BankIdApiErrorException
,BankIdApiUnexpectedResponseException
,BankIdRequirementException
public sealed class BankIdException
extends RuntimeException
permits BankIdApiErrorException, BankIdApiUnexpectedResponseException, BankIdRequirementException
The BankIdException class represents a generic exception that can be thrown
during interactions with the BankId system.
This class is a subclass of the RuntimeException class, allowing it to be thrown
without being explicitly caught or declared in a method's throws clause.
This class is declared as sealed, meaning that it can only be extended by the specified
subclasses: BankIdApiErrorException, BankIdApiUnexpectedResponseException, and BankIdRequirementException.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionBankIdException
(String message) BankIdException
(String message, @Nullable Throwable cause) BankIdException
(Throwable cause) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
BankIdException
-
BankIdException
-
BankIdException
-