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 SummaryConstructorsConstructorDescriptionModelIllegalStateException(String message) ModelIllegalStateException(String message, Throwable cause) 
- 
Method SummaryMethods inherited from class org.keycloak.models.ModelExceptiongetParameters, setParametersMethods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- 
Constructor Details- 
ModelIllegalStateExceptionpublic ModelIllegalStateException()
- 
ModelIllegalStateException
- 
ModelIllegalStateException
- 
ModelIllegalStateException
 
-