UnknownStatistic class: Difference between revisions
m Sirius Mods |
mNo edit summary |
||
| Line 1: | Line 1: | ||
<!-- UnknownStatistic class --> | <!-- UnknownStatistic class --> | ||
__NOTOC__ | |||
The <var>UnknownStatistic</var> exception class describes an exception associated with finding a string identifier that is not a valid or not an appropriate <var class="product">Model 204</var> statistic name. | The <var>UnknownStatistic</var> exception class describes an exception associated with finding a string identifier that is not a valid or not an appropriate <var class="product">Model 204</var> statistic name. | ||
| Line 8: | Line 9: | ||
In addition to the <var>New</var> constructor that creates an object instance, the class includes a <var>[[Name_(UnknownStatistic_property)|Name]]</var> property that returns the invalid statistic name. | In addition to the <var>New</var> constructor that creates an object instance, the class includes a <var>[[Name_(UnknownStatistic_property)|Name]]</var> property that returns the invalid statistic name. | ||
The methods in | The <var>UnknownStatistic</var> class is available as of <var class="product">[[Sirius Mods]]</var> version 7.3. | ||
<h2>The RecordLockingConflict methods</h2> | |||
{{Template:List of RecordLockingConflict methods}} | |||
The methods in the class are described in the subsections that follow. In addition: | |||
<ul> | |||
<li>[[Notation conventions for methods|"Notation conventions for methods"]] has information | |||
about the conventions followed. | |||
<li>[[RecordLockingConflict methods syntax|"RecordLockingConflict methods syntax"]] is a single page that contains the syntax diagrams of all the methods in the class. | |||
</ul> | |||
<h2>Filename property</h2> | |||
[[Category:System exception classes]] | [[Category:System exception classes]] | ||
Revision as of 19:36, 10 May 2011
The UnknownStatistic exception class describes an exception associated with finding a string identifier that is not a valid or not an appropriate Model 204 statistic name.
To produce an UnknownStatistic exception for yourself, you typically use a User Language Throw statement with the New UnknownStatistic constructor. For example, the following statement throws an UnknownStatistic exception for the value ABCD:
throw %(unknownStatistic):new(Name='abcd')
In addition to the New constructor that creates an object instance, the class includes a Name property that returns the invalid statistic name.
The UnknownStatistic class is available as of Sirius Mods version 7.3.
The RecordLockingConflict methods
The following are the available RecordLockingConflict class methods.
| Method | Description |
|---|---|
| ConflictTimeMilliseconds | Time that the conflict occurred |
| ConflictingLockStrength | Lock strength of conflicting lock |
| ConflictingRecordLockType | Lock type of conflicting lock |
| Copy | Copy the RecordLockingConflict object |
| DeepCopy | Deep copy the RecordLockingConflict object |
| Filename | Name of the file in which last record locking conflict occurred |
| LockTimeMilliseconds | Time that the conflicting record was locked |
| LockingUserNumber | User number of the user that locked the conflicting record |
| New | Create a new RecordLockingConflict object |
| NewFromLastConflict | Create object from current conflict information |
| RecordNumber | Record number of the record that has the conflict |
| UserID | User ID (login name) of the user that has the conflict |
| UserNumber | User number of the user that has the conflict |
The methods in the class are described in the subsections that follow. In addition:
- "Notation conventions for methods" has information about the conventions followed.
- "RecordLockingConflict methods syntax" is a single page that contains the syntax diagrams of all the methods in the class.