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

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 Details

    • BankIdException

      public BankIdException(Throwable cause)
    • BankIdException

      public BankIdException(String message)
    • BankIdException

      public BankIdException(String message, @Nullable Throwable cause)