Package org.keycloak.models
Class ModelValidationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.keycloak.models.ModelException
org.keycloak.models.ModelValidationException
- All Implemented Interfaces:
Serializable
Thrown to indicate that an error is expected as a result of the validations run against a model. Such exceptions are not considered internal server errors but an expected error when validating a model where the client has the opportunity to fix and retry the request.
Some validations can only happen during the commit phase and should not be handled as an unknown error by the default exception handling mechanism.
- See Also:
-
Constructor Summary
-
Method Summary
Methods inherited from class org.keycloak.models.ModelException
getParameters, setParameters
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ModelValidationException
-