New (UnknownStatistic constructor): Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (1 revision)
Line 16: Line 16:
<table class="syntaxTable">
<table class="syntaxTable">
<tr><th>%unknown</th>
<tr><th>%unknown</th>
<td>An UnknownStatistic object variable.
<td>An <var>UnknownStatistic</var> object variable.
</td></tr>
</td></tr>
<tr><th><b>Name=</b>stat</th>
<tr><th><b>Name=</b>stat</th>

Revision as of 21:58, 16 January 2011

<section begin=dpl_desc/>Create new UnknownStatistic instance<section end=dpl_desc/>

New is a member of the 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

[%unknown =] [%(UnknownStatistic):] New(Name=stat)

Syntax terms

%unknown An UnknownStatistic object variable.
Name=stat This name required parameter specifies the string value (stat) that is the name of the statistic for which you are providing the exception.