class Error

Factory methods for error objects. More...

Full nameKJS::Error
Definition#include <object.h>
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Static Methods


Detailed Description

KJSO  create (ErrorType e, const char *m = 0, int l = -1)

create

[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:
eType of error.
mOptional error message.
lOptional line number.

Object  createObject (ErrorType e, const char *m = 0, int l = -1)

createObject

[static]

Same as above except the different return type (which is not casted here).


Generated by: dfaure on Tue Feb 27 12:47:36 2001, using kdoc 2.0a50.