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

KHTML

  • DOM
  • EventException
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
DOM::EventException Class Reference

#include <dom2_events.h>

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 ( )
inlinevirtual

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
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:51:23 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KHTML

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

kdelibs API Reference

Skip menu "kdelibs API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  • kjsembed
  •   WTF
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Nepomuk-Core
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal