IllegalStateException
classin packageklyn
public class IllegalStateException extends 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
propertyInherited Properties from Exception: message
propertyInherited 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
methodInherited Methods from UncheckedException: toString
methodInherited Methods from Exception: toString
methodInherited Methods from Object: deepCopy, fromJson, toDict, toJson, toString, toXml