StateError
Module | ejs |
Definition | dynamic class StateError |
Inheritance | StateError ![]() ![]() |
Specified | ejscript-1.1 |
Stability | Evolving. |
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 = 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]