DOM::CSSException
Public Types |
Public Member Functions |
Static Public Member Functions |
Public Attributes |
List of all members
DOM::CSSException Class Reference
#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 (const CSSException &other) | |
CSSException (unsigned short _code) | |
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 180 of file css_stylesheet.h.
Member Function Documentation
◆ codeAsString() [1/2]
DOMString CSSException::codeAsString | ( | ) | const |
Returns the name of this error.
Definition at line 159 of file css_stylesheet.cpp.
◆ codeAsString() [2/2]
|
static |
Returns the name of given error code.
Definition at line 169 of file css_stylesheet.cpp.
◆ isCSSExceptionCode()
|
static |
- checks to see whether internal code is a CSS one
Definition at line 164 of file css_stylesheet.cpp.
Member Data Documentation
◆ code
unsigned short DOM::CSSException::code |
An integer indicating the type of error generated.
Definition at line 203 of file css_stylesheet.h.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Thu Dec 7 2023 03:56:24 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Thu Dec 7 2023 03:56:24 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.