class Error
|
Factory methods for error objects.
More... |
|
|
Public Static Methods
- static KJSO create (ErrorType e, const char *m = 0, int l = -1)
- static Object createObject (ErrorType e, const char *m = 0, int l = -1)
Detailed Description
| KJSO create (ErrorType e, const char *m = 0, int l = -1)
|
[static]
Factory method for error objects. The error will be registered globally
and the execution will continue as if a "throw" statement was
encountered.
Parameters:
| e | Type of error.
|
| m | Optional error message.
|
| l | Optional line number.
|
| Object createObject (ErrorType e, const char *m = 0, int l = -1)
|
[static]
Same as above except the different return type (which is not casted
here).
| Generated by: ssk@tauon.ph.unimelb.EDU.AU on Wed May 23 06:15:46 2001, using kdoc 2.0a35. |