public class IllegalStateException extends UncheckedException:
Raised when an operation is called while an object is in an invalid state.
Use this exception for lifecycle errors such as committing a transaction that has not been started or using a closed manager.
throw IllegalStateException("Transaction already active")| Modifier and Type | Member | Description |
|---|---|---|
| public | IllegalStateExceptionIllegalStateException(message as String = "Illegal state"): |
Creates an illegal-state exception. |