StateError

Moduleejs
Definitiondynamic class StateError
InheritanceStateError inherit Error inherit Object
Specifiedejscript-1.1
StabilityEvolving.

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 = null)
 StateError constructor.

Method Detail

public StateError(message: String = null)

StateError constructor.

Parameters
message: String Message to use when defining the Error.message property. [default: null]