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
 
 public class ModelIllegalStateException extends ModelException 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, seeorg.keycloak.models.utils.ModelToRepresentation#toRepresentation(Stream, Function)- Author:
- Alexander Schwartz
- See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description ModelIllegalStateException()ModelIllegalStateException(String message)ModelIllegalStateException(String message, Throwable cause)ModelIllegalStateException(Throwable cause)
 - 
Method Summary- 
Methods inherited from class org.keycloak.models.ModelExceptiongetParameters, setParameters
 - 
Methods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
- 
 
-