KJS::Error Class Reference
Factory methods for error objects. More...
#include <object.h>
| Static Public Member Functions | |
| 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 = errorNamesArr | 
Detailed Description
Factory methods for error objects.
Definition at line 625 of file object.h.
Member Function Documentation
| 
 | ||||||||||||||||||||||||
| Factory method for error objects. 
 
 Definition at line 501 of file object.cpp. References KJS::List::append(), KJS::Interpreter::builtinError(), KJS::Interpreter::builtinEvalError(), KJS::Interpreter::builtinRangeError(), KJS::Interpreter::builtinReferenceError(), KJS::Interpreter::builtinSyntaxError(), KJS::Interpreter::builtinTypeError(), KJS::Interpreter::builtinURIError(), KJS::Object::construct(), errorNames, KJS::ExecState::interpreter(), and KJS::Object::put(). | 
Member Data Documentation
| 
 | 
| Array of error names corresponding to ErrorType. 
 Definition at line 499 of file object.cpp. Referenced by create(). | 
The documentation for this class was generated from the following files:

