Exception handling
  • 17 Dec 2024
  • 1 Minute à lire
  • Sombre
    Lumière
  • PDF

Exception handling

  • Sombre
    Lumière
  • PDF

The content is currently unavailable in French. You are viewing the default English version.
Résumé de l’article

By default, the SOAP handlers ignore underlying exceptions, and always return a generic "Service is not available" error message with error code –999 in the response model, if a SOAP connection to the OneSpan Authentication Server instance cannot be established.

To make error handling easier, you can change the behavior to re-throw underlying exceptions so they can be propagated to and properly handled by the application (as IdentikeyConnectionException).

Call the setRethrowOnConnectionError() method from the ConfigurationBean instance and set its value to true:

configurationBean.setRethrowOnConnectionError(true);


Cet article vous a-t-il été utile ?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.
ESC

Ozzy, facilitant la découverte de connaissances grâce à l’intelligence conversationnelle