Class ExternalServiceException
Object
Throwable
Exception
RuntimeException
se.curity.identityserver.sdk.errors.ExternalServiceException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ConflictException
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 Summary
ConstructorsConstructorDescriptionExternalServiceException(String message) Creates an ExternalServiceException.ExternalServiceException(String message, @Nullable Throwable cause) Creates an ExternalServiceException. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ExternalServiceException
Creates an ExternalServiceException.- Parameters:
message- provided by the external service, if any, or a simple message that may be exposed to users.
-
ExternalServiceException
Creates an ExternalServiceException.- Parameters:
message- the detail message (which is saved for later retrieval by thegetMessage()method).cause- the cause (which is saved for later retrieval by theThrowable.getCause()method). (Anullvalue is permitted, and indicates that the cause is nonexistent or unknown.)- Since:
- 3.3.0
-
-
Method Details
-
getMessage
- Overrides:
getMessagein classThrowable
-