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

KHTML

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

#include <dom2_range.h>

Public Types

enum  RangeExceptionCode { BAD_BOUNDARYPOINTS_ERR = 1 , INVALID_NODE_TYPE_ERR = 2 , _EXCEPTION_OFFSET = 2000 , _EXCEPTION_MAX = 2999 }
 

Public Member Functions

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

Static Public Member Functions

static DOMString codeAsString (int rangeCode)
 
static bool isRangeExceptionCode (int exceptioncode)
 

Public Attributes

unsigned short code
 

Detailed Description

Definition at line 47 of file dom2_range.h.

Member Enumeration Documentation

◆ RangeExceptionCode

enum DOM::RangeException::RangeExceptionCode

An integer indicating the type of error generated.

Enumerator
BAD_BOUNDARYPOINTS_ERR 
INVALID_NODE_TYPE_ERR 
_EXCEPTION_OFFSET 
_EXCEPTION_MAX 

Definition at line 60 of file dom2_range.h.

Constructor & Destructor Documentation

◆ RangeException() [1/2]

DOM::RangeException::RangeException ( unsigned short  _code)
inline

Definition at line 49 of file dom2_range.h.

◆ RangeException() [2/2]

DOM::RangeException::RangeException ( const RangeException &  other)
inline

Definition at line 50 of file dom2_range.h.

◆ ~RangeException()

virtual DOM::RangeException::~RangeException ( )
inlinevirtual

Definition at line 55 of file dom2_range.h.

Member Function Documentation

◆ codeAsString() [1/2]

DOMString RangeException::codeAsString ( ) const

Returns the name of this error.

Definition at line 32 of file dom2_range.cpp.

◆ codeAsString() [2/2]

DOMString RangeException::codeAsString ( int  rangeCode)
static

Returns the name of given DOM error code.

Definition at line 42 of file dom2_range.cpp.

◆ isRangeExceptionCode()

bool RangeException::isRangeExceptionCode ( int  exceptioncode)
static

- checks to see whether internal code is a Range one

Definition at line 37 of file dom2_range.cpp.

◆ operator=()

RangeException & DOM::RangeException::operator= ( const RangeException &  other)
inline

Definition at line 52 of file dom2_range.h.

Member Data Documentation

◆ code

unsigned short DOM::RangeException::code

Definition at line 66 of file dom2_range.h.


The documentation for this class was generated from the following files:
  • dom2_range.h
  • dom2_range.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 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-4.14.38 API Reference

Skip menu "kdelibs-4.14.38 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
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
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