Class ExternalServiceException

Object
Throwable
Exception
RuntimeException
se.curity.identityserver.sdk.errors.ExternalServiceException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ConflictException

public class ExternalServiceException extends RuntimeException
Exception thrown when receiving a bad or unexpected response from an external service.

Effort should be made to make the external service error message available to template authors.

See Also:
  • Constructor Details

    • ExternalServiceException

      public ExternalServiceException(String message)
      Creates an ExternalServiceException.
      Parameters:
      message - provided by the external service, if any, or a simple message that may be exposed to users.
    • ExternalServiceException

      public ExternalServiceException(String message, @Nullable Throwable cause)
      Creates an ExternalServiceException.
      Parameters:
      message - the detail message (which is saved for later retrieval by the getMessage() method).
      cause - the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
      Since:
      3.3.0
  • Method Details