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: prospector@porky.devel.redhat.com on Thu Aug 24 05:36:23 2000, using kdoc 2.0a36. |