DOM::CSSException

#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)
 
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

DOMString CSSException::codeAsString ( ) const

Returns the name of this error.

Definition at line 159 of file css_stylesheet.cpp.

DOMString CSSException::codeAsString ( int  cssCode)
static

Returns the name of given error code.

Definition at line 169 of file css_stylesheet.cpp.

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

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-2020 The KDE developers.
Generated on Thu Jun 4 2020 22:35:25 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.