New (UnknownStatistic constructor): Difference between revisions

From m204wiki
Jump to navigation Jump to search
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Template:UnknownStatistic:New subtitle}}
#REDIRECT [[UnknownStatistic class#New constructor|New constructor]]
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.


==Syntax==
[[Category:UnknownStatistic methods|New constructor]]
{{Template:UnknownStatistic:New syntax}}
===Syntax terms===
<table class="syntaxTable">
<tr><th>%unknownStatistic</th>
<td>An <var>[[UnknownStatistic_class|UnknownStatistic]]</var> object variable.
</td></tr>
<tr><th>%(UnknownStatistic)</th><td>The class name in parentheses denotes a shared method.</td></tr>
<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></tr></table>
 
==See also==
{{Template:UnknownStatistic:New footer}}

Latest revision as of 19:45, 10 May 2011