Throwable object
The Throwable datatype is the base class for all throwable objects.
These include exceptions and error objects.
Properties
|
Throwable property |
Datatype |
Description |
|---|---|---|
|
ClassDefinition |
PowerObject |
An object of type PowerObject containing |
|
Text |
String |
Contains the text of the error |
Events
|
Throwable event |
Occurs |
|---|---|
|
When the exception is thrown. |
|
|
Immediately after the exception is |
Functions
|
Throwable function |
Datatype returned |
Description |
|---|---|---|
|
String |
Returns the name assigned to the |
|
|
Integer |
Creates a reference to a context-specific instance |
|
|
String |
Returns the error message from objects of type |
|
|
PowerObject |
Returns a reference to the name of the parent |
|
|
Boolean |
Adds an event to the end of the message queue for |
|
|
|
Sets an error message for an object of type |
|
|
Integer |
Triggers a specific event in the object and |
|
|
Object |
Returns the type of the object. |