• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • tdehtml
 

tdehtml

  • tdehtml
  • dom
dom_exception.h
1/*
2 * This file is part of the DOM implementation for KDE.
3 *
4 * (C) 1999 Lars Knoll (knoll@kde.org)
5 *
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version.
10 *
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Library General Public License for more details.
15 *
16 * You should have received a copy of the GNU Library General Public License
17 * along with this library; see the file COPYING.LIB. If not, write to
18 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
19 * Boston, MA 02110-1301, USA.
20 *
21 * This file includes excerpts from the Document Object Model (DOM)
22 * Level 1 Specification (Recommendation)
23 * http://www.w3.org/TR/REC-DOM-Level-1/
24 * Copyright World Wide Web Consortium , (Massachusetts Institute of
25 * Technology , Institut National de Recherche en Informatique et en
26 * Automatique , Keio University ). All Rights Reserved.
27 *
28 */
29#ifndef _DOM_DOMException_h_
30#define _DOM_DOMException_h_
31
32#include <dom/dom_misc.h>
33
34namespace DOM {
35
36
57class TDEHTML_EXPORT DOMException
58{
59public:
60 DOMException(unsigned short _code) { code = _code; }
61 DOMException(const DOMException &other) { code = other.code; }
62
63 DOMException & operator = (const DOMException &other)
64 { code = other.code; return *this; }
65
66 virtual ~DOMException() {}
71 enum ExceptionCode {
72 INDEX_SIZE_ERR = 1,
73 DOMSTRING_SIZE_ERR = 2,
74 HIERARCHY_REQUEST_ERR = 3,
75 WRONG_DOCUMENT_ERR = 4,
76 INVALID_CHARACTER_ERR = 5,
77 NO_DATA_ALLOWED_ERR = 6,
78 NO_MODIFICATION_ALLOWED_ERR = 7,
79 NOT_FOUND_ERR = 8,
80 NOT_SUPPORTED_ERR = 9,
81 INUSE_ATTRIBUTE_ERR = 10,
82 INVALID_STATE_ERR = 11,
83 SYNTAX_ERR = 12,
84 INVALID_MODIFICATION_ERR = 13,
85 NAMESPACE_ERR = 14,
86 INVALID_ACCESS_ERR = 15
87 };
88 unsigned short code;
89};
90
91} //namespace
92#endif
DOM::DOMException
DOM operations only raise exceptions in "exceptional" circumstances, i.e., when an operation is impos...
Definition: dom_exception.h:58
DOM::DOMException::ExceptionCode
ExceptionCode
An integer indicating the type of error generated.
Definition: dom_exception.h:71
DOM
The Document Object Model (DOM) is divided into two parts, the COREDOM core DOM, specifying some core...
Definition: design.h:57

tdehtml

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

tdehtml

Skip menu "tdehtml"
  • arts
  • dcop
  • dnssd
  • interfaces
  •   kspeech
  •     interface
  •     library
  •   tdetexteditor
  • kate
  • kded
  • kdoctools
  • kimgio
  • kjs
  • libtdemid
  • libtdescreensaver
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdeioslave
  •   http
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for tdehtml by doxygen 1.9.4
This website is maintained by Timothy Pearson.