KHTML
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 (unsigned short _code) | |
| RangeException (const RangeException &other) | |
| 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
An integer indicating the type of error generated.
Definition at line 60 of file dom2_range.h.
Constructor & Destructor Documentation
| DOM::RangeException::RangeException | ( | unsigned short | _code | ) | [inline] |
Definition at line 49 of file dom2_range.h.
| DOM::RangeException::RangeException | ( | const RangeException & | other | ) | [inline] |
Definition at line 50 of file dom2_range.h.
| virtual DOM::RangeException::~RangeException | ( | ) | [inline, virtual] |
Definition at line 55 of file dom2_range.h.
Member Function Documentation
| DOMString RangeException::codeAsString | ( | ) | const |
Returns the name of this error.
Definition at line 32 of file dom2_range.cpp.
| DOMString RangeException::codeAsString | ( | int | rangeCode | ) | [static] |
Returns the name of given DOM error code.
Definition at line 42 of file dom2_range.cpp.
| 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.
| RangeException& DOM::RangeException::operator= | ( | const RangeException & | other | ) | [inline] |
Definition at line 52 of file dom2_range.h.
Member Data Documentation
| 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:
KDE 4.6 API Reference