Package org.keycloak.models
Class ModelIllegalStateException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.keycloak.models.ModelException
org.keycloak.models.ModelIllegalStateException
- All Implemented Interfaces:
Serializable
Thrown when data can't be retrieved for the model.
This occurs when an entity has been removed or updated in the meantime. This might wrap an optimistic lock exception
depending on the store.
Callers might use this exception to filter out entities that are in an illegal state, see
org.keycloak.models.utils.ModelToRepresentation#toRepresentation(Stream, Function)
- Author:
- Alexander Schwartz
- See Also:
-
Constructor Summary
ConstructorDescriptionModelIllegalStateException
(String message) ModelIllegalStateException
(String message, Throwable cause) -
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
-
ModelIllegalStateException
public ModelIllegalStateException() -
ModelIllegalStateException
-
ModelIllegalStateException
-