KHTML
#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) | |
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
◆ ExceptionCode
Enumerator | |
---|---|
SYNTAX_ERR | |
INVALID_MODIFICATION_ERR | |
_EXCEPTION_OFFSET | |
_EXCEPTION_MAX |
Definition at line 190 of file css_stylesheet.h.
Constructor & Destructor Documentation
◆ CSSException() [1/2]
|
inline |
Definition at line 177 of file css_stylesheet.h.
◆ CSSException() [2/2]
|
inline |
Definition at line 178 of file css_stylesheet.h.
◆ ~CSSException()
|
inlinevirtual |
Definition at line 183 of file css_stylesheet.h.
Member Function Documentation
◆ codeAsString() [1/2]
DOMString CSSException::codeAsString | ( | ) | const |
Returns the name of this error.
Definition at line 129 of file css_stylesheet.cpp.
◆ codeAsString() [2/2]
|
static |
Returns the name of given error code.
Definition at line 139 of file css_stylesheet.cpp.
◆ isCSSExceptionCode()
|
static |
- checks to see whether internal code is a CSS one
Definition at line 134 of file css_stylesheet.cpp.
◆ operator=()
|
inline |
Definition at line 180 of file css_stylesheet.h.
Member Data Documentation
◆ code
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:
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.