New (UnknownStatistic constructor)

From m204wiki
Revision as of 21:40, 16 January 2011 by 198.242.244.47 (talk) (Created page with " <span class="pageSubtitle"><section begin=dpl_desc/>Create new UnknownStatistic instance<section end=dpl_desc/></span> New constructor <p> ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

<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.