New (XPathError constructor): Difference between revisions

From m204wiki
Jump to navigation Jump to search
mNo edit summary
m (Redirected page to XPathError class#New constructor)
 
Line 1: Line 1:
{{Template:XPathError:New subtitle}}
#REDIRECT [[XPathError class#New constructor|New constructor]]


Each argument to <var>New</var> sets the value of the corresponding property of the newly constructed <var>XPathError</var> object.
[[Category:XPathError methods|New constructor]]
==Syntax==
{{Template:XPathError:New syntax}}
===Syntax terms===
<table class="syntaxTable">
<tr><th>%XPathErr</th>
<td>An <var>XPathError</var> object.
</td></tr>
<tr><th><b>Reason=</b>reasonEnum</th>
<td>This name required parameter specifies the value to be assigned to the exception object's <var>[[Reason (XPathError property)|Reason]]</var> property.
The Reason parameter is '''not''' optional.
</td></tr>
<tr><th><b>CharacterPosition=</b>num</th>
<td>This name required parameter specifies the numeric value (''num'') to be assigned to the object's <var>[[CharacterPosition (XPathError property)|CharacterPosition]]</var> property.
</td></tr>
<tr><th><b>Description=</b>string</th>
<td>This name required parameter specifies the string value (''string'') to be assigned to the object's <var>[[Description (XPathError property)|Description]]</var> property.
</td></tr></table>
==See also==
{{Template:XPathError:New footer}}

Latest revision as of 16:11, 11 May 2011