• Skip to content
  • Skip to link menu
KDE 4.0 API Reference
  • KDE API Reference
  • kdelibs
  • Sitemap
  • Contact Us
 

KJS

KJS::Error

KJS::Error Class Reference

#include <object.h>

List of all members.


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.

JSObject * KJS::Error::create ( ExecState *  exec,
ErrorType  type,
const char *  message 
) [static]

Definition at line 667 of file object.cpp.


Member Data Documentation

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

Array of error names corresponding to ErrorType.

Definition at line 516 of file object.h.


The documentation for this class was generated from the following files:
  • object.h
  • object.cpp

KJS

Skip menu "KJS"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • KIO
  • KIOSlave
  • KJS
  •   WTF
  • KJSEmbed
  • KNewStuff
  • KParts
  • Kross
  • KUtils
  • Nepomuk
  •   core
  • Phonon
  •   Backend
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal