#include <object.h>

List of all members.

Static Public Member Functions

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

Static Public Attributes

static const char *const *const errorNames = errorNamesArr

Detailed Description

Factory methods for error objects.


Member Function Documentation

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

Factory method for error objects.

Parameters:
execThe current execution state
errtypeType of error.
messageOptional error message.
linenoOptional line number.
sourceIdOptional source id.

Definition at line 504 of file object.cpp.


Member Data Documentation

const char *const *const Error::errorNames = errorNamesArr [static]

Array of error names corresponding to ErrorType.

Definition at line 645 of file object.h.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys