Main Page   Modules   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   Related Pages  

KJS::Error Class Reference

Factory methods for error objects. More...

#include <object.h>

List of all members.

Static Public Methods

Object create (ExecState *exec, ErrorType errtype=GeneralError, const char *message=0, int lineno=-1, int sourceId=-1)

Static Public Attributes

const char *const *const errorNames


Detailed Description

Factory methods for error objects.

Definition at line 590 of file object.h.


Member Function Documentation

Object KJS::Error::create ExecState   exec,
ErrorType    errtype = GeneralError,
const char *    message = 0,
int    lineno = -1,
int    sourceId = -1
[static]
 

Factory method for error objects.

Parameters:
exec  The current execution state
errtype  Type of error.
message  Optional error message.
lineno  Optional line number.
lineno  Optional source id.


Member Data Documentation

const char* const* const KJS::Error::errorNames [static]
 

Array of error names corresponding to ErrorType

Definition at line 608 of file object.h.


The documentation for this class was generated from the following file:
Generated on Wed Aug 13 23:30:34 2003 for kdelibs by doxygen1.2.18