DOM::CSSException

Search for usage in LXR

#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
 
CSSExceptionoperator= (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]

DOMString CSSException::codeAsString ( int  cssCode)
static

Returns the name of given error code.

Definition at line 169 of file css_stylesheet.cpp.

◆ isCSSExceptionCode()

bool CSSException::isCSSExceptionCode ( int  exceptioncode)
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

KDE's Doxygen guidelines are available online.