Exception¶
Note
Exception is derived from Object class.
All built-in, non-system-exiting exceptions are derived from this class. All user-defined exceptions should also be derived from this class.
Constructor¶
Exception class has a single constructor:
object Exception:new ( string sExceptionName, string sDefaultErrMsg )
Inherited Methods¶
These methods are inherited from its super classes:
| Class Method | Description |
|---|---|
| Object:getName | Returns Exception’s name. |
| Object:setName | Sets the Exception name. |