New (UnknownStatistic constructor): Difference between revisions

From m204wiki
Jump to navigation Jump to search
Line 10: Line 10:
</td></tr>
</td></tr>
<tr><th>%(UnknownStatistic)</th><td>The class name in parentheses denotes a shared method.</td></tr>
<tr><th>%(UnknownStatistic)</th><td>The class name in parentheses denotes a shared method.</td></tr>
<tr><th>Name</th>
<tr><th><var>Name</var></th>
<td>This [[Methods#Named parameters|name required]] parameter specifies the string value (''statistic'') that is the name of the statistic for which you are providing the exception.
<td>This [[Methods#Named parameters|name required]] parameter specifies the string value (''statistic'') that is the name of the statistic for which you are providing the exception.



Revision as of 22:32, 4 May 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