StateError
Module | ejs |
Namespace | intrinsic |
Definition | dynamic class StateError |
Specified | Ejs-11. |
Inheritance | StateError ![]() ![]() |
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
Qualifiers | Property | Type | Description |
---|---|---|---|
No properties defined |
StateError Methods
Qualifiers | Method |
---|---|
StateError(message: String) | |
StateError constructor. |
Method Detail
StateError(message: String)
StateError constructor.
- Parameters
message: String Message to use when defining the Error.message property