• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • kjs
 

kjs

  • KJS
  • Error
Static Public Member Functions | Static Public Attributes
KJS::Error Class Reference

#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.

Definition at line 627 of file object.h.


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:
  • object.h
  • object.cpp

kjs

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

kjs

Skip menu "kjs"
  • arts
  • dcop
  • dnssd
  • interfaces
  •   kspeech
  •     interface
  •     library
  •   tdetexteditor
  • kate
  • kded
  • kdoctools
  • kimgio
  • kjs
  • libtdemid
  • libtdescreensaver
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdeioslave
  •   http
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for kjs by doxygen 1.7.6.1
This website is maintained by Timothy Pearson.