summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 836c223)
raw | patch | inline | side by side (parent: 836c223)
author | ishmal <ishmal@users.sourceforge.net> | |
Sun, 27 Aug 2006 14:45:12 +0000 (14:45 +0000) | ||
committer | ishmal <ishmal@users.sourceforge.net> | |
Sun, 27 Aug 2006 14:45:12 +0000 (14:45 +0000) |
src/dom/dom.h | patch | blob | history |
diff --git a/src/dom/dom.h b/src/dom/dom.h
index 6741d375dbc5916bc62700348d476f557b828f6b..64f1e6dde77cb2f903df976f9fbd81c8accbac3c 100644 (file)
--- a/src/dom/dom.h
+++ b/src/dom/dom.h
public:
+ /**
+ * ExceptionCode
+ */
+ typedef enum
+ {
+ INDEX_SIZE_ERR = 1,
+ DOMSTRING_SIZE_ERR = 2,
+ HIERARCHY_REQUEST_ERR = 3,
+ WRONG_DOCUMENT_ERR = 4,
+ INVALID_CHARACTER_ERR = 5,
+ NO_DATA_ALLOWED_ERR = 6,
+ NO_MODIFICATION_ALLOWED_ERR = 7,
+ NOT_FOUND_ERR = 8,
+ NOT_SUPPORTED_ERR = 9,
+ INUSE_ATTRIBUTE_ERR = 10,
+ INVALID_STATE_ERR = 11,
+ SYNTAX_ERR = 12,
+ INVALID_MODIFICATION_ERR = 13,
+ NAMESPACE_ERR = 14,
+ INVALID_ACCESS_ERR = 15,
+ VALIDATION_ERR = 16,
+ TYPE_MISMATCH_ERR = 17
+ } ExceptionCode;
+
+
+
DOMException(const DOMString &reasonMsg)
{ msg = reasonMsg; }
-/**
- * ExceptionCode
- */
-typedef enum
-{
- INDEX_SIZE_ERR = 1,
- DOMSTRING_SIZE_ERR = 2,
- HIERARCHY_REQUEST_ERR = 3,
- WRONG_DOCUMENT_ERR = 4,
- INVALID_CHARACTER_ERR = 5,
- NO_DATA_ALLOWED_ERR = 6,
- NO_MODIFICATION_ALLOWED_ERR = 7,
- NOT_FOUND_ERR = 8,
- NOT_SUPPORTED_ERR = 9,
- INUSE_ATTRIBUTE_ERR = 10,
- INVALID_STATE_ERR = 11,
- SYNTAX_ERR = 12,
- INVALID_MODIFICATION_ERR = 13,
- NAMESPACE_ERR = 14,
- INVALID_ACCESS_ERR = 15,
- VALIDATION_ERR = 16,
- TYPE_MISMATCH_ERR = 17
-} ExceptionCode;
/*#########################################################################