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

kjs

  • KJS
  • Error
Static Public Member Functions | Static Public Attributes | List of all members
KJS::Error Class Reference

#include <object.h>

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 626 of file object.h.

Member Function Documentation

◆ create()

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 503 of file object.cpp.

Member Data Documentation

◆ errorNames

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

Array of error names corresponding to ErrorType.

Definition at line 644 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.9.4
This website is maintained by Timothy Pearson.