IllegalStateException
class in package klyn

    public class IllegalStateException extends UncheckedException:

Object
└ Exception
└ UncheckedException
└ IllegalStateException

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.

Example

    throw IllegalStateException("Transaction already active")

Inherited Properties
property Inherited Properties from Exception: message
property Inherited Properties from Object: type
Constructors

Modifier and Type | Member | Description
--- | --- | ---
public | IllegalStateException `IllegalStateException(message as String = "Illegal state"):` | Creates an illegal-state exception.

Inherited Methods
method Inherited Methods from UncheckedException: toString
method Inherited Methods from Exception: toString
method Inherited Methods from Object: deepCopy, fromJson, toDict, toJson, toString, toXml