• Skip to content
  • Skip to link menu
KDE 4.6 API Reference
  • KDE API Reference
  • kdelibs
  • KDE Home
  • Contact Us
 

KHTML

  • DOM
  • EventException
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes

DOM::EventException Class Reference

Introduced in DOM Level 2: More...

#include <dom2_events.h>

List of all members.

Public Types

enum  EventExceptionCode { UNSPECIFIED_EVENT_TYPE_ERR = 0, _EXCEPTION_OFFSET = 3000, _EXCEPTION_MAX = 3999 }

Public Member Functions

 EventException (unsigned short _code)
 EventException (const EventException &other)
virtual ~EventException ()
DOMString codeAsString () const
EventException & operator= (const EventException &other)

Static Public Member Functions

static DOMString codeAsString (int cssCode)
static bool isEventExceptionCode (int exceptioncode)

Public Attributes

unsigned short code

Detailed Description

Introduced in DOM Level 2:

Event operations may throw an EventException as specified in their method descriptions.

Definition at line 268 of file dom2_events.h.


Member Enumeration Documentation

enum DOM::EventException::EventExceptionCode

An integer indicating the type of error generated.

UNSPECIFIED_EVENT_TYPE_ERR: If the Event's type was not specified by initializing the event before the method was called. Specification of the Event's type as null or an empty string will also trigger this exception.

Enumerator:
UNSPECIFIED_EVENT_TYPE_ERR 
_EXCEPTION_OFFSET 
_EXCEPTION_MAX 

Definition at line 285 of file dom2_events.h.


Constructor & Destructor Documentation

EventException::EventException ( unsigned short  _code)

Definition at line 180 of file dom2_events.cpp.

EventException::EventException ( const EventException &  other)

Definition at line 185 of file dom2_events.cpp.

virtual DOM::EventException::~EventException ( ) [inline, virtual]

Definition at line 274 of file dom2_events.h.


Member Function Documentation

DOMString EventException::codeAsString ( ) const

Returns the name of this error.

Definition at line 198 of file dom2_events.cpp.

DOMString EventException::codeAsString ( int  cssCode) [static]

Returns the name of given error code.

Definition at line 208 of file dom2_events.cpp.

bool EventException::isEventExceptionCode ( int  exceptioncode) [static]
  • checks to see whether internal code is an event one

Definition at line 203 of file dom2_events.cpp.

EventException & EventException::operator= ( const EventException &  other)

Definition at line 190 of file dom2_events.cpp.


Member Data Documentation

unsigned short DOM::EventException::code

Definition at line 291 of file dom2_events.h.


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

KHTML

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

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.7.3
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