• Skip to content
  • Skip to link menu
KDE 4.3 API Reference
  • KDE API Reference
  • kdelibs
  • Sitemap
  • Contact Us
 

KHTML

dom_exception.h

Go to the documentation of this file.
00001 /*
00002  * This file is part of the DOM implementation for KDE.
00003  *
00004  * Copyright 1999 Lars Knoll (knoll@kde.org)
00005  *
00006  * This library is free software; you can redistribute it and/or
00007  * modify it under the terms of the GNU Library General Public
00008  * License as published by the Free Software Foundation; either
00009  * version 2 of the License, or (at your option) any later version.
00010  *
00011  * This library is distributed in the hope that it will be useful,
00012  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00013  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00014  * Library General Public License for more details.
00015  *
00016  * You should have received a copy of the GNU Library General Public License
00017  * along with this library; see the file COPYING.LIB.  If not, write to
00018  * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
00019  * Boston, MA 02110-1301, USA.
00020  *
00021  * This file includes excerpts from the Document Object Model (DOM)
00022  * Level 1 Specification (Recommendation)
00023  * http://www.w3.org/TR/REC-DOM-Level-1/
00024  * Copyright © World Wide Web Consortium , (Massachusetts Institute of
00025  * Technology , Institut National de Recherche en Informatique et en
00026  * Automatique , Keio University ). All Rights Reserved.
00027  *
00028  */
00029 #ifndef _DOM_DOMException_h_
00030 #define _DOM_DOMException_h_
00031 
00032 #include <dom/dom_misc.h>
00033 
00034 namespace DOM {
00035 
00036 
00057 class KHTML_EXPORT DOMException
00058 {
00059 public:
00060     DOMException(unsigned short _code) { code = _code; }
00061     DOMException(const DOMException &other) { code = other.code; }
00062 
00063     DOMException & operator = (const DOMException &other)
00064     { code = other.code; return *this; }
00065 
00066     virtual ~DOMException() {}
00071     enum ExceptionCode {
00072         INDEX_SIZE_ERR = 1,
00073         DOMSTRING_SIZE_ERR = 2,
00074         HIERARCHY_REQUEST_ERR = 3,
00075         WRONG_DOCUMENT_ERR = 4,
00076         INVALID_CHARACTER_ERR = 5,
00077         NO_DATA_ALLOWED_ERR = 6,
00078         NO_MODIFICATION_ALLOWED_ERR = 7,
00079         NOT_FOUND_ERR = 8,
00080         NOT_SUPPORTED_ERR = 9,
00081         INUSE_ATTRIBUTE_ERR = 10,
00082         INVALID_STATE_ERR = 11,
00083         SYNTAX_ERR = 12,
00084         INVALID_MODIFICATION_ERR = 13,
00085         NAMESPACE_ERR = 14,
00086         INVALID_ACCESS_ERR = 15,
00087         VALIDATION_ERR = 16,
00088         TYPE_MISMATCH_ERR = 17,
00089         SECURITY_ERR = 18
00090     };
00091     unsigned short code;
00092 };
00093 
00094 } //namespace
00095 #endif

KHTML

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

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.6.1
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal