IllegalOperationException

IllegalOperationException

class IllegalOperationException(message: String? = null) : Exception

Signals that the operation is not allowed in the actual state of the object.

Constructors

IllegalOperationExceptionconstructor(message: String? = null)