• Skip to content
  • Skip to link menu
  • KDE API Reference
  • kdelibs-4.14.38 API Reference
  • KDE Home
  • Contact Us
 

KHTML

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

enum DOM::CSSException::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]

DOM::CSSException::CSSException ( unsigned short  _code)
inline

Definition at line 177 of file css_stylesheet.h.

◆ CSSException() [2/2]

DOM::CSSException::CSSException ( const CSSException &  other)
inline

Definition at line 178 of file css_stylesheet.h.

◆ ~CSSException()

virtual DOM::CSSException::~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]

DOMString CSSException::codeAsString ( int  cssCode)
static

Returns the name of given error code.

Definition at line 139 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 134 of file css_stylesheet.cpp.

◆ operator=()

CSSException & DOM::CSSException::operator= ( const CSSException &  other)
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:
  • css_stylesheet.h
  • css_stylesheet.cpp
This file is part of the KDE documentation.
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.

KHTML

Skip menu "KHTML"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdelibs-4.14.38 API Reference

Skip menu "kdelibs-4.14.38 API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal