1 | <HTML><HEAD><SCRIPT language="JavaScript" src="../resources/script.js" type="text/javascript"></SCRIPT><TITLE>DOMException class Reference</TITLE><link href="XercesApi.css" rel="stylesheet" type="text/css"></HEAD><BODY alink="#ff0000" bgcolor="#ffffff" leftmargin="4" link="#0000ff" marginheight="4" marginwidth="4" text="#000000" topmargin="4" vlink="#0000aa"><TABLE border="0" cellpadding="0" cellspacing="0" width="620"><TR><TD align="left" height="60" rowspan="3" valign="top" width="135"><IMG border="0" height="60" hspace="0" src="../resources/logo.gif" vspace="0" width="135"></TD><TD align="left" colspan="4" height="5" valign="top" width="456"><IMG border="0" height="5" hspace="0" src="../resources/line.gif" vspace="0" width="456"></TD><TD align="left" height="60" rowspan="3" valign="top" width="29"><IMG border="0" height="60" hspace="0" src="../resources/right.gif" vspace="0" width="29"></TD></TR><TR><TD align="left" bgcolor="#0086b2" colspan="4" height="35" valign="top" width="456"><IMG alt="" border="0" height="35" hspace="0" src="../graphics/api-header.jpg" vspace="0" width="456"></TD></TR><TR><TD align="left" height="20" valign="top" width="168"><IMG border="0" height="20" hspace="0" src="../resources/bottom.gif" vspace="0" width="168"></TD><TD align="left" height="20" valign="top" width="96"><A href="http://xml.apache.org/" onMouseOut="rolloverOff('xml');" onMouseOver="rolloverOn('xml');" target="new"><IMG alt="http://xml.apache.org/" border="0" height="20" hspace="0" name="xml" onLoad="rolloverLoad('xml','../resources/button-xml-hi.gif','../resources/button-xml-lo.gif');" src="../resources/button-xml-lo.gif" vspace="0" width="96"></A></TD><TD align="left" height="20" valign="top" width="96"><A href="http://www.apache.org/" onMouseOut="rolloverOff('asf');" onMouseOver="rolloverOn('asf');" target="new"><IMG alt="http://www.apache.org/" border="0" height="20" hspace="0" name="asf" onLoad="rolloverLoad('asf','../resources/button-asf-hi.gif','../resources/button-asf-lo.gif');" src="../resources/button-asf-lo.gif" vspace="0" width="96"></A></TD><TD align="left" height="20" valign="top" width="96"><A href="http://www.w3.org/" onMouseOut="rolloverOff('w3c');" onMouseOver="rolloverOn('w3c');" target="new"><IMG alt="http://www.w3.org/" border="0" height="20" hspace="0" name="w3c" onLoad="rolloverLoad('w3c','../resources/button-w3c-hi.gif','../resources/button-w3c-lo.gif');" src="../resources/button-w3c-lo.gif" vspace="0" width="96"></A></TD></TR></TABLE><TABLE border="0" cellpadding="0" cellspacing="0" width="620"><TR><TD align="left" valign="top" width="120"><IMG border="0" height="14" hspace="0" src="../resources/join.gif" vspace="0" width="120"><BR>
|
---|
2 | <A href="../../index.html" onMouseOut="rolloverOff('side-ext-2');" onMouseOver="rolloverOn('side-ext-2');"><IMG alt="Home" border="0" height="12" hspace="0" name="side-ext-2" onLoad="rolloverLoad('side-ext-2','../graphics/ext-2-label-2.jpg','../graphics/ext-2-label-3.jpg');" src="../graphics/ext-2-label-3.jpg" vspace="0" width="120"></A><BR>
|
---|
3 |
|
---|
4 | <IMG border="0" height="6" hspace="0" src="../resources/separator.gif" vspace="0" width="120"><BR>
|
---|
5 |
|
---|
6 | <A href="../index.html" onMouseOut="rolloverOff('side-index');" onMouseOver="rolloverOn('side-index');"><IMG alt="Readme" border="0" height="12" hspace="0" name="side-index" onLoad="rolloverLoad('side-index','../graphics/index-label-2.jpg','../graphics/index-label-3.jpg');" src="../graphics/index-label-3.jpg" vspace="0" width="120"></A><BR>
|
---|
7 | <A href="../releases.html" onMouseOut="rolloverOff('side-releases');" onMouseOver="rolloverOn('side-releases');"><IMG alt="Release Info" border="0" height="12" hspace="0" name="side-releases" onLoad="rolloverLoad('side-releases','../graphics/releases-label-2.jpg','../graphics/releases-label-3.jpg');" src="../graphics/releases-label-3.jpg" vspace="0" width="120"></A><BR>
|
---|
8 | <IMG border="0" height="6" hspace="0" src="../resources/separator.gif" vspace="0" width="120"><BR>
|
---|
9 | <A href="../install.html" onMouseOut="rolloverOff('side-install');" onMouseOver="rolloverOn('side-install');"><IMG alt="Installation" border="0" height="12" hspace="0" name="side-install" onLoad="rolloverLoad('side-install','../graphics/install-label-2.jpg','../graphics/install-label-3.jpg');" src="../graphics/install-label-3.jpg" vspace="0" width="120"></A><BR>
|
---|
10 | <A href="http://xml.apache.org/dist/xerces-c/" onMouseOut="rolloverOff('side-ext-18');" onMouseOver="rolloverOn('side-ext-18');"><IMG alt="Download" border="0" height="12" hspace="0" name="side-ext-18" onLoad="rolloverLoad('side-ext-18','../graphics/ext-18-label-2.jpg','../graphics/ext-18-label-3.jpg');" src="../graphics/ext-18-label-3.jpg" vspace="0" width="120"></A><BR>
|
---|
11 | <A href="../build.html" onMouseOut="rolloverOff('side-build');" onMouseOver="rolloverOn('side-build');"><IMG alt="Build" border="0" height="12" hspace="0" name="side-build" onLoad="rolloverLoad('side-build','../graphics/build-label-2.jpg','../graphics/build-label-3.jpg');" src="../graphics/build-label-3.jpg" vspace="0" width="120"></A><BR>
|
---|
12 |
|
---|
13 | <IMG border="0" height="6" hspace="0" src="../resources/separator.gif" vspace="0" width="120"><BR>
|
---|
14 | <A href="../faqs.html" onMouseOut="rolloverOff('side-faqs');" onMouseOver="rolloverOn('side-faqs');"><IMG alt="FAQs" border="0" height="12" hspace="0" name="side-faqs" onLoad="rolloverLoad('side-faqs','../graphics/faqs-label-2.jpg','../graphics/faqs-label-3.jpg');" src="../graphics/faqs-label-3.jpg" vspace="0" width="120"></A><BR>
|
---|
15 | <A href="../samples.html" onMouseOut="rolloverOff('side-samples');" onMouseOver="rolloverOn('side-samples');"><IMG alt="Samples" border="0" height="12" hspace="0" name="side-samples" onLoad="rolloverLoad('side-samples','../graphics/samples-label-2.jpg','../graphics/samples-label-3.jpg');" src="../graphics/samples-label-3.jpg" vspace="0" width="120"></A><BR>
|
---|
16 | <A href="../api.html" onMouseOut="rolloverOff('side-api');" onMouseOver="rolloverOn('side-api');"><IMG alt="API Docs" border="0" height="12" hspace="0" name="side-api" onLoad="rolloverLoad('side-api','../graphics/api-label-2.jpg','../graphics/api-label-3.jpg');" src="../graphics/api-label-3.jpg" vspace="0" width="120"></A><BR>
|
---|
17 |
|
---|
18 | <IMG border="0" height="6" hspace="0" src="../resources/separator.gif" vspace="0" width="120"><BR>
|
---|
19 | <A href="../ApacheDOMC++Binding.html" onMouseOut="rolloverOff('side-ext-68');" onMouseOver="rolloverOn('side-ext-68');"><IMG alt="DOM C++ Binding" border="0" height="12" hspace="0" name="side-ext-68" onLoad="rolloverLoad('side-ext-68','../graphics/ext-68-label-2.jpg','../graphics/ext-68-label-3.jpg');" src="../graphics/ext-68-label-3.jpg" vspace="0" width="120"></A><BR>
|
---|
20 |
|
---|
21 | <A href="../program.html" onMouseOut="rolloverOff('side-program');" onMouseOver="rolloverOn('side-program');"><IMG alt="Programming" border="0" height="12" hspace="0" name="side-program" onLoad="rolloverLoad('side-program','../graphics/program-label-2.jpg','../graphics/program-label-3.jpg');" src="../graphics/program-label-3.jpg" vspace="0" width="120"></A><BR>
|
---|
22 | <A href="../migrate.html" onMouseOut="rolloverOff('side-migrate');" onMouseOver="rolloverOn('side-migrate');"><IMG alt="Migration Guide" border="0" height="12" hspace="0" name="side-migrate" onLoad="rolloverLoad('side-migrate','../graphics/migrate-label-2.jpg','../graphics/migrate-label-3.jpg');" src="../graphics/migrate-label-3.jpg" vspace="0" width="120"></A><BR>
|
---|
23 |
|
---|
24 | <IMG border="0" height="6" hspace="0" src="../resources/separator.gif" vspace="0" width="120"><BR>
|
---|
25 |
|
---|
26 | <A href="../feedback.html" onMouseOut="rolloverOff('side-feedback');" onMouseOver="rolloverOn('side-feedback');"><IMG alt="Feedback" border="0" height="12" hspace="0" name="side-feedback" onLoad="rolloverLoad('side-feedback','../graphics/feedback-label-2.jpg','../graphics/feedback-label-3.jpg');" src="../graphics/feedback-label-3.jpg" vspace="0" width="120"></A><BR>
|
---|
27 | <A href="../bug-report.html" onMouseOut="rolloverOff('side-bug-report');" onMouseOver="rolloverOn('side-bug-report');"><IMG alt="Bug-Reporting" border="0" height="12" hspace="0" name="side-bug-report" onLoad="rolloverLoad('side-bug-report','../graphics/bug-report-label-2.jpg','../graphics/bug-report-label-3.jpg');" src="../graphics/bug-report-label-3.jpg" vspace="0" width="120"></A><BR>
|
---|
28 | <A href="../pdf.html" onMouseOut="rolloverOff('side-pdf');" onMouseOver="rolloverOn('side-pdf');"><IMG alt="PDF Document" border="0" height="12" hspace="0" name="side-pdf" onLoad="rolloverLoad('side-pdf','../graphics/pdf-label-2.jpg','../graphics/pdf-label-3.jpg');" src="../graphics/pdf-label-3.jpg" vspace="0" width="120"></A><BR>
|
---|
29 |
|
---|
30 | <IMG border="0" height="6" hspace="0" src="../resources/separator.gif" vspace="0" width="120"><BR>
|
---|
31 |
|
---|
32 | <A href="http://xml.apache.org/websrc/cvsweb.cgi/xml-xerces/c/" onMouseOut="rolloverOff('side-ext-100');" onMouseOver="rolloverOn('side-ext-100');"><IMG alt="CVS Repository" border="0" height="12" hspace="0" name="side-ext-100" onLoad="rolloverLoad('side-ext-100','../graphics/ext-100-label-2.jpg','../graphics/ext-100-label-3.jpg');" src="../graphics/ext-100-label-3.jpg" vspace="0" width="120"></A><BR>
|
---|
33 |
|
---|
34 | <A href="http://marc.theaimsgroup.com/?l=xerces-c-dev" onMouseOut="rolloverOff('side-ext-102');" onMouseOver="rolloverOn('side-ext-102');"><IMG alt="Mail Archive" border="0" height="12" hspace="0" name="side-ext-102" onLoad="rolloverLoad('side-ext-102','../graphics/ext-102-label-2.jpg','../graphics/ext-102-label-3.jpg');" src="../graphics/ext-102-label-3.jpg" vspace="0" width="120"></A><BR>
|
---|
35 |
|
---|
36 |
|
---|
37 | <IMG border="0" height="14" hspace="0" src="../resources/close.gif" vspace="0" width="120"><BR></TD><TD align="left" valign="top" width="500"><TABLE border="0" cellpadding="3" cellspacing="0"><TR><TD>
|
---|
38 | <TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="#FFFFFF" colspan="2" width="494"><TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="#039acc" height="1" width="1"><IMG border="0" height="1" hspace="0" src="../resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#039acc" height="1" width="492"><IMG border="0" height="1" hspace="0" src="../resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="../resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#039acc" width="1"><IMG border="0" height="1" hspace="0" src="../resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#0086b2" width="492"><FONT color="#ffffff" face="arial,helvetica,sanserif" size="+1"><IMG border="0" height="2" hspace="0" src="../resources/void.gif" vspace="0" width="2"><B>API Docs for SAX and DOM</B></FONT></TD><TD bgcolor="#017299" width="1"><IMG border="0" height="1" hspace="0" src="../resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="../resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#017299" height="1" width="492"><IMG border="0" height="1" hspace="0" src="../resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#017299" height="1" width="1"><IMG border="0" height="1" hspace="0" src="../resources/void.gif" vspace="0" width="1"></TD></TR></TABLE></TD></TR><TR><TD width="10"> </TD><TD width="484"><FONT color="#000000" face="arial,helvetica,sanserif">
|
---|
39 |
|
---|
40 | <P>
|
---|
41 | <!-- Generated by Doxygen 1.2.14 -->
|
---|
42 | <center>
|
---|
43 | <a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="classes.html">Alphabetical List</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </center>
|
---|
44 | <hr><h1>DOMException Class Reference</h1>Inheritance diagram for DOMException:<p><center><img src="classDOMException__inherit__graph.gif" border="0" usemap="#DOMException__inherit__map" alt="Inheritance graph"></center>
|
---|
45 | <map name="DOMException__inherit__map">
|
---|
46 | <area href="classDOMRangeException.html" shape="rect" coords="7,105,148,87" alt="">
|
---|
47 | </map>
|
---|
48 | <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for DOMException:<p><center><img src="classDOMException__coll__graph.gif" border="0" usemap="#DOMException__coll__map" alt="Collaboration graph"></center>
|
---|
49 | <map name="DOMException__coll__map">
|
---|
50 | <area href="classMemoryManager.html" shape="rect" coords="7,36,116,17" alt="">
|
---|
51 | </map>
|
---|
52 | <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classDOMException-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
|
---|
53 | <tr><td colspan=2><br><h2>Public Types</h2></td></tr>
|
---|
54 | <tr><td colspan="2"><div class="groupHeader">Public Contants</div></td></tr>
|
---|
55 | <tr><td nowrap align=right valign=top>enum </td><td valign=bottom><a class="el" href="classDOMException.html#z76_0">ExceptionCode</a> { <br>
|
---|
56 | <a class="el" href="classDOMException.html#z76_0s0">INDEX_SIZE_ERR</a> = 1,
|
---|
57 | <a class="el" href="classDOMException.html#z76_0s1">DOMSTRING_SIZE_ERR</a> = 2,
|
---|
58 | <a class="el" href="classDOMException.html#z76_0s2">HIERARCHY_REQUEST_ERR</a> = 3,
|
---|
59 | <a class="el" href="classDOMException.html#z76_0s3">WRONG_DOCUMENT_ERR</a> = 4,
|
---|
60 | <br>
|
---|
61 | <a class="el" href="classDOMException.html#z76_0s4">INVALID_CHARACTER_ERR</a> = 5,
|
---|
62 | <a class="el" href="classDOMException.html#z76_0s5">NO_DATA_ALLOWED_ERR</a> = 6,
|
---|
63 | <a class="el" href="classDOMException.html#z76_0s6">NO_MODIFICATION_ALLOWED_ERR</a> = 7,
|
---|
64 | <a class="el" href="classDOMException.html#z76_0s7">NOT_FOUND_ERR</a> = 8,
|
---|
65 | <br>
|
---|
66 | <a class="el" href="classDOMException.html#z76_0s8">NOT_SUPPORTED_ERR</a> = 9,
|
---|
67 | <a class="el" href="classDOMException.html#z76_0s9">INUSE_ATTRIBUTE_ERR</a> = 10,
|
---|
68 | <a class="el" href="classDOMException.html#z76_0s10">INVALID_STATE_ERR</a> = 11,
|
---|
69 | <a class="el" href="classDOMException.html#z76_0s11">SYNTAX_ERR</a> = 12,
|
---|
70 | <br>
|
---|
71 | <a class="el" href="classDOMException.html#z76_0s12">INVALID_MODIFICATION_ERR</a> = 13,
|
---|
72 | <a class="el" href="classDOMException.html#z76_0s13">NAMESPACE_ERR</a> = 14,
|
---|
73 | <a class="el" href="classDOMException.html#z76_0s14">INVALID_ACCESS_ERR</a> = 15,
|
---|
74 | <a class="el" href="classDOMException.html#z76_0s15">VALIDATION_ERR</a> = 16
|
---|
75 | <br>
|
---|
76 | }</td></tr>
|
---|
77 | <tr><td> </td><td><font size=-1><em>ExceptionCode.</em> <a href="#z76_0">More...</a><em></em></font><br><br></td></tr>
|
---|
78 | <tr><td colspan=2><br><h2>Public Methods</h2></td></tr>
|
---|
79 | <tr><td nowrap align=right valign=top>const XMLCh * </td><td valign=bottom><a class="el" href="classDOMException.html#a0">getMessage</a> () const</td></tr>
|
---|
80 | <tr><td colspan="2"><div class="groupHeader">Constructors</div></td></tr>
|
---|
81 | <tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classDOMException.html#z74_0">DOMException</a> ()</td></tr>
|
---|
82 | <tr><td> </td><td><font size=-1><em>Default constructor for DOMException.</em> <a href="#z74_0">More...</a><em></em></font><br><br></td></tr>
|
---|
83 | <tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classDOMException.html#z74_1">DOMException</a> (short <a class="el" href="classDOMException.html#z77_0">code</a>, const XMLCh *message, <a class="el" href="classMemoryManager.html">MemoryManager</a> *const memoryManager=<a class="el" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a>)</td></tr>
|
---|
84 | <tr><td> </td><td><font size=-1><em>Constructor which takes an error code and a message.</em> <a href="#z74_1">More...</a><em></em></font><br><br></td></tr>
|
---|
85 | <tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classDOMException.html#z74_2">DOMException</a> (const DOMException &other)</td></tr>
|
---|
86 | <tr><td> </td><td><font size=-1><em>Copy constructor.</em> <a href="#z74_2">More...</a><em></em></font><br><br></td></tr>
|
---|
87 | <tr><td colspan="2"><div class="groupHeader">Destructor.</div></td></tr>
|
---|
88 | <tr><td nowrap align=right valign=top>virtual </td><td valign=bottom><a class="el" href="classDOMException.html#z75_0">~DOMException</a> ()</td></tr>
|
---|
89 | <tr><td> </td><td><font size=-1><em>Destructor for DOMException.</em> <a href="#z75_0">More...</a><em></em></font><br><br></td></tr>
|
---|
90 | <tr><td colspan=2><br><h2>Public Attributes</h2></td></tr>
|
---|
91 | <tr><td colspan="2"><div class="groupHeader">Public variables</div></td></tr>
|
---|
92 | <tr><td nowrap align=right valign=top><a class="el" href="classDOMException.html#z76_0">ExceptionCode</a> </td><td valign=bottom><a class="el" href="classDOMException.html#z77_0">code</a></td></tr>
|
---|
93 | <tr><td> </td><td><font size=-1><em>A code value, from the set defined by the ExceptionCode enum, indicating the type of error that occured.</em> <a href="#z77_0">More...</a><em></em></font><br><br></td></tr>
|
---|
94 | <tr><td nowrap align=right valign=top>const XMLCh * </td><td valign=bottom><a class="el" href="classDOMException.html#z77_1">msg</a></td></tr>
|
---|
95 | <tr><td> </td><td><font size=-1><em>A string value.</em> <a href="#z77_1">More...</a><em></em></font><br><br></td></tr>
|
---|
96 | <tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr>
|
---|
97 | <tr><td nowrap align=right valign=top><a class="el" href="classMemoryManager.html">MemoryManager</a> * </td><td valign=bottom><a class="el" href="classDOMException.html#n0">fMemoryManager</a></td></tr>
|
---|
98 | </table>
|
---|
99 | <hr><h2>Member Enumeration Documentation</h2>
|
---|
100 | <a name="z76_0" doxytag="DOMException::ExceptionCode"></a><p>
|
---|
101 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
102 | <tr>
|
---|
103 | <td class="md">
|
---|
104 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
105 | <tr>
|
---|
106 | <td class="md" nowrap valign="top"> enum DOMException::ExceptionCode
|
---|
107 | </table>
|
---|
108 | </td>
|
---|
109 | </tr>
|
---|
110 | </table>
|
---|
111 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
112 | <tr>
|
---|
113 | <td>
|
---|
114 |
|
---|
115 | </td>
|
---|
116 | <td>
|
---|
117 |
|
---|
118 | <p>
|
---|
119 | ExceptionCode.
|
---|
120 | <p>
|
---|
121 |
|
---|
122 | <p>
|
---|
123 | <code>INDEX_SIZE_ERR:</code> If index or size is negative, or greater than the allowed value.
|
---|
124 | <p>
|
---|
125 |
|
---|
126 | <p>
|
---|
127 | <code>DOMSTRING_SIZE_ERR:</code> If the specified range of text does not fit into a DOMString.
|
---|
128 | <p>
|
---|
129 |
|
---|
130 | <p>
|
---|
131 | <code>HIERARCHY_REQUEST_ERR:</code> If any node is inserted somewhere it doesn't belong.
|
---|
132 | <p>
|
---|
133 |
|
---|
134 | <p>
|
---|
135 | <code>WRONG_DOCUMENT_ERR:</code> If a node is used in a different document than the one that created it (that doesn't support it).
|
---|
136 | <p>
|
---|
137 |
|
---|
138 | <p>
|
---|
139 | <code>INVALID_CHARACTER_ERR:</code> If an invalid or illegal character is specified, such as in a name. See production 2 in the XML specification for the definition of a legal character, and production 5 for the definition of a legal name character.
|
---|
140 | <p>
|
---|
141 |
|
---|
142 | <p>
|
---|
143 | <code>NO_DATA_ALLOWED_ERR:</code> If data is specified for a node which does not support data.
|
---|
144 | <p>
|
---|
145 |
|
---|
146 | <p>
|
---|
147 | <code>NO_MODIFICATION_ALLOWED_ERR:</code> If an attempt is made to modify an object where modifications are not allowed.
|
---|
148 | <p>
|
---|
149 |
|
---|
150 | <p>
|
---|
151 | <code>NOT_FOUND_ERR:</code> If an attempt is made to reference a node in a context where it does not exist.
|
---|
152 | <p>
|
---|
153 |
|
---|
154 | <p>
|
---|
155 | <code>NOT_SUPPORTED_ERR:</code> If the implementation does not support the requested type of object or operation.
|
---|
156 | <p>
|
---|
157 |
|
---|
158 | <p>
|
---|
159 | <code>INUSE_ATTRIBUTE_ERR:</code> If an attempt is made to add an attribute that is already in use elsewhere.
|
---|
160 | <p>
|
---|
161 | The above are since DOM Level 1 <dl compact><dt><b>
|
---|
162 | Since: </b><dd>
|
---|
163 | DOM Level 1</dl>
|
---|
164 | <p>
|
---|
165 | <code>INVALID_STATE_ERR:</code> If an attempt is made to use an object that is not, or is no longer, usable.
|
---|
166 | <p>
|
---|
167 |
|
---|
168 | <p>
|
---|
169 | <code>SYNTAX_ERR:</code> If an invalid or illegal string is specified.
|
---|
170 | <p>
|
---|
171 |
|
---|
172 | <p>
|
---|
173 | <code>INVALID_MODIFICATION_ERR:</code> If an attempt is made to modify the type of the underlying object.
|
---|
174 | <p>
|
---|
175 |
|
---|
176 | <p>
|
---|
177 | <code>NAMESPACE_ERR:</code> If an attempt is made to create or change an object in a way which is incorrect with regard to namespaces.
|
---|
178 | <p>
|
---|
179 |
|
---|
180 | <p>
|
---|
181 | <code>INVALID_ACCESS_ERR:</code> If a parameter or an operation is not supported by the underlying object.
|
---|
182 | <p>
|
---|
183 | The above are since DOM Level 2 <dl compact><dt><b>
|
---|
184 | Since: </b><dd>
|
---|
185 | DOM Level 2</dl>
|
---|
186 | <p>
|
---|
187 | <code>VALIDATION_ERR:</code> If a call to a method such as <code>insertBefore</code> or <code>removeChild</code> would make the <code>Node</code> invalid with respect to "partial validity", this exception would be raised and the operation would not be done.
|
---|
188 | <p>
|
---|
189 | The above is since DOM Level 2 <dl compact><dt><b>
|
---|
190 | Since: </b><dd>
|
---|
191 | DOM Level 3 </dl><dl compact><dt><b>
|
---|
192 | Enumeration values:</b><dd>
|
---|
193 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
194 | <tr><td valign=top><em><a name="z76_0s0" doxytag="INDEX_SIZE_ERR"></a><em>INDEX_SIZE_ERR</em></em> </td><td>
|
---|
195 | </td></tr>
|
---|
196 | <tr><td valign=top><em><a name="z76_0s1" doxytag="DOMSTRING_SIZE_ERR"></a><em>DOMSTRING_SIZE_ERR</em></em> </td><td>
|
---|
197 | </td></tr>
|
---|
198 | <tr><td valign=top><em><a name="z76_0s2" doxytag="HIERARCHY_REQUEST_ERR"></a><em>HIERARCHY_REQUEST_ERR</em></em> </td><td>
|
---|
199 | </td></tr>
|
---|
200 | <tr><td valign=top><em><a name="z76_0s3" doxytag="WRONG_DOCUMENT_ERR"></a><em>WRONG_DOCUMENT_ERR</em></em> </td><td>
|
---|
201 | </td></tr>
|
---|
202 | <tr><td valign=top><em><a name="z76_0s4" doxytag="INVALID_CHARACTER_ERR"></a><em>INVALID_CHARACTER_ERR</em></em> </td><td>
|
---|
203 | </td></tr>
|
---|
204 | <tr><td valign=top><em><a name="z76_0s5" doxytag="NO_DATA_ALLOWED_ERR"></a><em>NO_DATA_ALLOWED_ERR</em></em> </td><td>
|
---|
205 | </td></tr>
|
---|
206 | <tr><td valign=top><em><a name="z76_0s6" doxytag="NO_MODIFICATION_ALLOWED_ERR"></a><em>NO_MODIFICATION_ALLOWED_ERR</em></em> </td><td>
|
---|
207 | </td></tr>
|
---|
208 | <tr><td valign=top><em><a name="z76_0s7" doxytag="NOT_FOUND_ERR"></a><em>NOT_FOUND_ERR</em></em> </td><td>
|
---|
209 | </td></tr>
|
---|
210 | <tr><td valign=top><em><a name="z76_0s8" doxytag="NOT_SUPPORTED_ERR"></a><em>NOT_SUPPORTED_ERR</em></em> </td><td>
|
---|
211 | </td></tr>
|
---|
212 | <tr><td valign=top><em><a name="z76_0s9" doxytag="INUSE_ATTRIBUTE_ERR"></a><em>INUSE_ATTRIBUTE_ERR</em></em> </td><td>
|
---|
213 | </td></tr>
|
---|
214 | <tr><td valign=top><em><a name="z76_0s10" doxytag="INVALID_STATE_ERR"></a><em>INVALID_STATE_ERR</em></em> </td><td>
|
---|
215 | </td></tr>
|
---|
216 | <tr><td valign=top><em><a name="z76_0s11" doxytag="SYNTAX_ERR"></a><em>SYNTAX_ERR</em></em> </td><td>
|
---|
217 | </td></tr>
|
---|
218 | <tr><td valign=top><em><a name="z76_0s12" doxytag="INVALID_MODIFICATION_ERR"></a><em>INVALID_MODIFICATION_ERR</em></em> </td><td>
|
---|
219 | </td></tr>
|
---|
220 | <tr><td valign=top><em><a name="z76_0s13" doxytag="NAMESPACE_ERR"></a><em>NAMESPACE_ERR</em></em> </td><td>
|
---|
221 | </td></tr>
|
---|
222 | <tr><td valign=top><em><a name="z76_0s14" doxytag="INVALID_ACCESS_ERR"></a><em>INVALID_ACCESS_ERR</em></em> </td><td>
|
---|
223 | </td></tr>
|
---|
224 | <tr><td valign=top><em><a name="z76_0s15" doxytag="VALIDATION_ERR"></a><em>VALIDATION_ERR</em></em> </td><td>
|
---|
225 | </td></tr>
|
---|
226 | </table>
|
---|
227 | </dl>
|
---|
228 | </td>
|
---|
229 | </tr>
|
---|
230 | </table>
|
---|
231 | <hr><h2>Constructor & Destructor Documentation</h2>
|
---|
232 | <a name="z74_0" doxytag="DOMException::DOMException"></a><p>
|
---|
233 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
234 | <tr>
|
---|
235 | <td class="md">
|
---|
236 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
237 | <tr>
|
---|
238 | <td class="md" nowrap valign="top"> DOMException::DOMException </td>
|
---|
239 | <td class="md" valign="top">( </td>
|
---|
240 | <td class="mdname1" valign="top" nowrap> </td>
|
---|
241 | <td class="md" valign="top">) </td>
|
---|
242 | <td class="md" nowrap></td>
|
---|
243 | </tr>
|
---|
244 |
|
---|
245 | </table>
|
---|
246 | </td>
|
---|
247 | </tr>
|
---|
248 | </table>
|
---|
249 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
250 | <tr>
|
---|
251 | <td>
|
---|
252 |
|
---|
253 | </td>
|
---|
254 | <td>
|
---|
255 |
|
---|
256 | <p>
|
---|
257 | Default constructor for DOMException.
|
---|
258 | <p>
|
---|
259 | </td>
|
---|
260 | </tr>
|
---|
261 | </table>
|
---|
262 | <a name="z74_1" doxytag="DOMException::DOMException"></a><p>
|
---|
263 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
264 | <tr>
|
---|
265 | <td class="md">
|
---|
266 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
267 | <tr>
|
---|
268 | <td class="md" nowrap valign="top"> DOMException::DOMException </td>
|
---|
269 | <td class="md" valign="top">( </td>
|
---|
270 | <td class="md" nowrap valign="top">short </td>
|
---|
271 | <td class="mdname" nowrap> <em>code</em>, </td>
|
---|
272 | </tr>
|
---|
273 | <tr>
|
---|
274 | <td></td>
|
---|
275 | <td></td>
|
---|
276 | <td class="md" nowrap>const XMLCh * </td>
|
---|
277 | <td class="mdname" nowrap> <em>message</em>, </td>
|
---|
278 | </tr>
|
---|
279 | <tr>
|
---|
280 | <td></td>
|
---|
281 | <td></td>
|
---|
282 | <td class="md" nowrap><a class="el" href="classMemoryManager.html">MemoryManager</a> *const </td>
|
---|
283 | <td class="mdname" nowrap> <em>memoryManager</em> = <a class="el" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a></td>
|
---|
284 | </tr>
|
---|
285 | <tr>
|
---|
286 | <td></td>
|
---|
287 | <td class="md">) </td>
|
---|
288 | <td class="md" colspan="2"></td>
|
---|
289 | </tr>
|
---|
290 |
|
---|
291 | </table>
|
---|
292 | </td>
|
---|
293 | </tr>
|
---|
294 | </table>
|
---|
295 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
296 | <tr>
|
---|
297 | <td>
|
---|
298 |
|
---|
299 | </td>
|
---|
300 | <td>
|
---|
301 |
|
---|
302 | <p>
|
---|
303 | Constructor which takes an error code and a message.
|
---|
304 | <p>
|
---|
305 | <dl compact><dt><b>
|
---|
306 | Parameters: </b><dd>
|
---|
307 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
308 | <tr><td valign=top><em>code</em> </td><td>
|
---|
309 | The error code which indicates the exception </td></tr>
|
---|
310 | <tr><td valign=top><em>message</em> </td><td>
|
---|
311 | The string containing the error message </td></tr>
|
---|
312 | <tr><td valign=top><em>memoryManager</em> </td><td>
|
---|
313 | The memory manager used to (de)allocate memory </td></tr>
|
---|
314 | </table>
|
---|
315 | </dl> </td>
|
---|
316 | </tr>
|
---|
317 | </table>
|
---|
318 | <a name="z74_2" doxytag="DOMException::DOMException"></a><p>
|
---|
319 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
320 | <tr>
|
---|
321 | <td class="md">
|
---|
322 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
323 | <tr>
|
---|
324 | <td class="md" nowrap valign="top"> DOMException::DOMException </td>
|
---|
325 | <td class="md" valign="top">( </td>
|
---|
326 | <td class="md" nowrap valign="top">const DOMException & </td>
|
---|
327 | <td class="mdname1" valign="top" nowrap> <em>other</em> </td>
|
---|
328 | <td class="md" valign="top">) </td>
|
---|
329 | <td class="md" nowrap></td>
|
---|
330 | </tr>
|
---|
331 |
|
---|
332 | </table>
|
---|
333 | </td>
|
---|
334 | </tr>
|
---|
335 | </table>
|
---|
336 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
337 | <tr>
|
---|
338 | <td>
|
---|
339 |
|
---|
340 | </td>
|
---|
341 | <td>
|
---|
342 |
|
---|
343 | <p>
|
---|
344 | Copy constructor.
|
---|
345 | <p>
|
---|
346 | <dl compact><dt><b>
|
---|
347 | Parameters: </b><dd>
|
---|
348 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
349 | <tr><td valign=top><em>other</em> </td><td>
|
---|
350 | The object to be copied. </td></tr>
|
---|
351 | </table>
|
---|
352 | </dl> </td>
|
---|
353 | </tr>
|
---|
354 | </table>
|
---|
355 | <a name="z75_0" doxytag="DOMException::~DOMException"></a><p>
|
---|
356 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
357 | <tr>
|
---|
358 | <td class="md">
|
---|
359 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
360 | <tr>
|
---|
361 | <td class="md" nowrap valign="top"> virtual DOMException::~DOMException </td>
|
---|
362 | <td class="md" valign="top">( </td>
|
---|
363 | <td class="mdname1" valign="top" nowrap> </td>
|
---|
364 | <td class="md" valign="top">) </td>
|
---|
365 | <td class="md" nowrap><code> [virtual]</code></td>
|
---|
366 | </tr>
|
---|
367 |
|
---|
368 | </table>
|
---|
369 | </td>
|
---|
370 | </tr>
|
---|
371 | </table>
|
---|
372 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
373 | <tr>
|
---|
374 | <td>
|
---|
375 |
|
---|
376 | </td>
|
---|
377 | <td>
|
---|
378 |
|
---|
379 | <p>
|
---|
380 | Destructor for DOMException.
|
---|
381 | <p>
|
---|
382 | </td>
|
---|
383 | </tr>
|
---|
384 | </table>
|
---|
385 | <hr><h2>Member Function Documentation</h2>
|
---|
386 | <a name="a0" doxytag="DOMException::getMessage"></a><p>
|
---|
387 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
388 | <tr>
|
---|
389 | <td class="md">
|
---|
390 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
391 | <tr>
|
---|
392 | <td class="md" nowrap valign="top"> const XMLCh * DOMException::getMessage </td>
|
---|
393 | <td class="md" valign="top">( </td>
|
---|
394 | <td class="mdname1" valign="top" nowrap> </td>
|
---|
395 | <td class="md" valign="top">) </td>
|
---|
396 | <td class="md" nowrap> const</td>
|
---|
397 | </tr>
|
---|
398 |
|
---|
399 | </table>
|
---|
400 | </td>
|
---|
401 | </tr>
|
---|
402 | </table>
|
---|
403 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
404 | <tr>
|
---|
405 | <td>
|
---|
406 |
|
---|
407 | </td>
|
---|
408 | <td>
|
---|
409 |
|
---|
410 | <p>
|
---|
411 | </td>
|
---|
412 | </tr>
|
---|
413 | </table>
|
---|
414 | <hr><h2>Member Data Documentation</h2>
|
---|
415 | <a name="z77_0" doxytag="DOMException::code"></a><p>
|
---|
416 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
417 | <tr>
|
---|
418 | <td class="md">
|
---|
419 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
420 | <tr>
|
---|
421 | <td class="md" nowrap valign="top"> <a class="el" href="classDOMException.html#z76_0">ExceptionCode</a> DOMException::code
|
---|
422 | </table>
|
---|
423 | </td>
|
---|
424 | </tr>
|
---|
425 | </table>
|
---|
426 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
427 | <tr>
|
---|
428 | <td>
|
---|
429 |
|
---|
430 | </td>
|
---|
431 | <td>
|
---|
432 |
|
---|
433 | <p>
|
---|
434 | A code value, from the set defined by the ExceptionCode enum, indicating the type of error that occured.
|
---|
435 | <p>
|
---|
436 |
|
---|
437 | <p>
|
---|
438 | Reimplemented in <a class="el" href="classDOMRangeException.html#z152_0">DOMRangeException</a>. </td>
|
---|
439 | </tr>
|
---|
440 | </table>
|
---|
441 | <a name="n0" doxytag="DOMException::fMemoryManager"></a><p>
|
---|
442 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
443 | <tr>
|
---|
444 | <td class="md">
|
---|
445 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
446 | <tr>
|
---|
447 | <td class="md" nowrap valign="top"> <a class="el" href="classMemoryManager.html">MemoryManager</a>* DOMException::fMemoryManager<code> [protected]</code>
|
---|
448 | </table>
|
---|
449 | </td>
|
---|
450 | </tr>
|
---|
451 | </table>
|
---|
452 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
453 | <tr>
|
---|
454 | <td>
|
---|
455 |
|
---|
456 | </td>
|
---|
457 | <td>
|
---|
458 |
|
---|
459 | <p>
|
---|
460 | </td>
|
---|
461 | </tr>
|
---|
462 | </table>
|
---|
463 | <a name="z77_1" doxytag="DOMException::msg"></a><p>
|
---|
464 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
465 | <tr>
|
---|
466 | <td class="md">
|
---|
467 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
468 | <tr>
|
---|
469 | <td class="md" nowrap valign="top"> const XMLCh* DOMException::msg
|
---|
470 | </table>
|
---|
471 | </td>
|
---|
472 | </tr>
|
---|
473 | </table>
|
---|
474 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
475 | <tr>
|
---|
476 | <td>
|
---|
477 |
|
---|
478 | </td>
|
---|
479 | <td>
|
---|
480 |
|
---|
481 | <p>
|
---|
482 | A string value.
|
---|
483 | <p>
|
---|
484 | Applications may use this field to hold an error message. The field value is not set by the DOM implementation, meaning that the string will be empty when an exception is first thrown. </td>
|
---|
485 | </tr>
|
---|
486 | </table>
|
---|
487 | <hr>The documentation for this class was generated from the following file:<ul>
|
---|
488 | <li><a class="el" href="DOMException_8hpp-source.html">DOMException.hpp</a></ul>
|
---|
489 | </FONT></TD></TR></TABLE><BR>
|
---|
490 | </TD></TR></TABLE></TD></TR></TABLE><BR><TABLE border="0" cellpadding="0" cellspacing="0" width="620"><TR><TD bgcolor="#0086b2"><IMG height="1" src="images/dot.gif" width="1" alt=""></TD></TR><TR><TD align="center"><FONT color="#0086b2" size="-1"><I>
|
---|
491 | Copyright © 1994-2004 The Apache Software Foundation.
|
---|
492 | All Rights Reserved.
|
---|
493 | </I></FONT></TD></TR></TABLE></BODY></HTML>
|
---|