KJS
KJS::Error Class Reference
#include <object.h>
Detailed Description
Factory methods for error objects.Definition at line 498 of file object.h.
Static Public Member Functions | |
| static JSObject * | create (ExecState *, ErrorType, const UString &message, int lineNumber, int sourceId, const UString &sourceURL) |
| static JSObject * | create (ExecState *, ErrorType, const char *message) |
Static Public Attributes | |
| static const char *const *const | errorNames = errorNamesArr |
Member Function Documentation
| JSObject * KJS::Error::create | ( | ExecState * | exec, | |
| ErrorType | errtype, | |||
| const UString & | message, | |||
| int | lineNumber, | |||
| int | sourceId, | |||
| const UString & | sourceURL | |||
| ) | [static] |
Factory method for error objects.
- Parameters:
-
exec The current execution state errtype Type of error. message Optional error message. lineNumber Optional line number. sourceId Optional source id. sourceURL Optional source URL.
Definition at line 602 of file object.cpp.
Definition at line 667 of file object.cpp.
Member Data Documentation
const char *const *const KJS::Error::errorNames = errorNamesArr [static] |
The documentation for this class was generated from the following files:
KDE 4.0 API Reference