New (UnknownStatistic constructor): Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (1 revision)
m (edits, tags and links)
Line 1: Line 1:
{{Template:UnknownStatistic:New subtitle}}
{{Template:UnknownStatistic:New subtitle}}
This constructor generates an instance of an <var>[[UnknownStatistic_class|UnknownStatistic]]</var> exception.  As shown below, the required argument of the <var>New</var> method is a specific string value that is ''not'' the name of a valid or appropriate <var class="product">Model 204</var> user statistic for the method that is being called.


As shown below, the required argument of the <var>New</var> method is a specific string
value that is ''not'' the name of a valid or appropriate <var class="product">Model 204</var> user statistic
for the method that is being called.
==Syntax==
==Syntax==
{{Template:UnknownStatistic:New syntax}}
{{Template:UnknownStatistic:New syntax}}
===Syntax terms===
===Syntax terms===
<table class="syntaxTable">
<table class="syntaxTable">
<tr><th>%unknown</th>
<tr><th>%unknownStatistic</th>
<td>An <var>UnknownStatistic</var> object variable.
<td>An <var>[[UnknownStatistic_class|UnknownStatistic]]</var> object variable.
</td></tr>
</td></tr>
<tr><th><b>Name=</b>stat</th>
<tr><th>%(UnknownStatistic)</th><td>The class name in parentheses denotes a shared method.</td></tr>
<td>This name required parameter specifies the string value (''stat'') that is the name of the statistic for which you are providing the exception.
<tr><th>Name</th>
<td>This <var>[[Methods#Named parameters|Name-Required]]</var> parameter specifies the string value (''statistic'') that is the name of the statistic for which you are providing the exception.


</td></tr></table>
</td></tr></table>
==See also==
==See also==
{{Template:UnknownStatistic:New footer}}
{{Template:UnknownStatistic:New footer}}

Revision as of 11:35, 24 April 2011

Create a new UnknownStatistic object (UnknownStatistic class) This constructor generates an instance of an UnknownStatistic exception. As shown below, the required argument of the New method is a specific string value that is not the name of a valid or appropriate Model 204 user statistic for the method that is being called.

Syntax

%unknownStatistic = [%(UnknownStatistic):]New( Name= string)

Syntax terms

%unknownStatistic An UnknownStatistic object variable.
%(UnknownStatistic)The class name in parentheses denotes a shared method.
Name This Name-Required parameter specifies the string value (statistic) that is the name of the statistic for which you are providing the exception.

See also