StateError

Moduleejs
Namespaceintrinsic
Definitiondynamic class StateError
SpecifiedEjs-11.
InheritanceStateError inherit Error inherit Object

State error exception class.

Thrown when an object cannot be transitioned from its current state to the desired state, e.g. calling "sleep" on an interrupted thread.


Properties

QualifiersPropertyTypeDescription
No properties defined

StateError Methods

QualifiersMethod
StateError(message: String)
 StateError constructor.

Method Detail

StateError(message: String)

StateError constructor.

Parameters
message: String Message to use when defining the Error.message property