KHTML
DOM::CSSException Class Reference
This exception is raised when a specific CSS operation is impossible to perform. More...
#include <css_stylesheet.h>
Public Types | |
| enum | ExceptionCode { SYNTAX_ERR = 0, INVALID_MODIFICATION_ERR = 1, _EXCEPTION_OFFSET = 1000, _EXCEPTION_MAX = 1999 } |
Public Member Functions | |
| CSSException (unsigned short _code) | |
| CSSException (const CSSException &other) | |
| virtual | ~CSSException () |
| DOMString | codeAsString () const |
| CSSException & | operator= (const CSSException &other) |
Static Public Member Functions | |
| static DOMString | codeAsString (int cssCode) |
| static bool | isCSSExceptionCode (int exceptioncode) |
Public Attributes | |
| unsigned short | code |
Detailed Description
This exception is raised when a specific CSS operation is impossible to perform.
Definition at line 174 of file css_stylesheet.h.
Member Enumeration Documentation
Definition at line 190 of file css_stylesheet.h.
Constructor & Destructor Documentation
| DOM::CSSException::CSSException | ( | unsigned short | _code | ) | [inline] |
Definition at line 177 of file css_stylesheet.h.
| DOM::CSSException::CSSException | ( | const CSSException & | other | ) | [inline] |
Definition at line 178 of file css_stylesheet.h.
| virtual DOM::CSSException::~CSSException | ( | ) | [inline, virtual] |
Definition at line 183 of file css_stylesheet.h.
Member Function Documentation
| DOMString CSSException::codeAsString | ( | ) | const |
Returns the name of this error.
Definition at line 129 of file css_stylesheet.cpp.
| DOMString CSSException::codeAsString | ( | int | cssCode | ) | [static] |
Returns the name of given error code.
Definition at line 139 of file css_stylesheet.cpp.
| bool CSSException::isCSSExceptionCode | ( | int | exceptioncode | ) | [static] |
- checks to see whether internal code is a CSS one
Definition at line 134 of file css_stylesheet.cpp.
| CSSException& DOM::CSSException::operator= | ( | const CSSException & | other | ) | [inline] |
Definition at line 180 of file css_stylesheet.h.
Member Data Documentation
| unsigned short DOM::CSSException::code |
An integer indicating the type of error generated.
Definition at line 188 of file css_stylesheet.h.
The documentation for this class was generated from the following files:
KDE 4.6 API Reference