Class ConflictException
Object
Throwable
Exception
RuntimeException
se.curity.identityserver.sdk.errors.ExternalServiceException
se.curity.identityserver.sdk.errors.ConflictException
- All Implemented Interfaces:
Serializable
Exception thrown when an external service responds with an error indicating a conflict.
This normally happens on integrity constraint violations such as when trying to add something that already exists. Errors of this type that propagate to an HTTP client will normally result in a 409 Conflict status code being served.
Effort should be made to make the external service error message available to template authors.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class se.curity.identityserver.sdk.errors.ExternalServiceException
getMessageMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ConflictException
Creates a ConflictException.- Parameters:
message- provided by the external service, if any, or a simple message that may be exposed to users.
-