UnknownStatistic class: Difference between revisions

From m204wiki
Jump to navigation Jump to search
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 this class are listed at "[[List of UnknownStatistic methods]]".  
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]]
The <var>UnknownStatistic</var> class is available as of <var class="product">[[Sirius Mods|"Sirius Mods"]]</var> version 7.3.

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.

MethodDescription
ConflictTimeMillisecondsTime that the conflict occurred
ConflictingLockStrengthLock strength of conflicting lock
ConflictingRecordLockTypeLock type of conflicting lock
CopyCopy the RecordLockingConflict object
DeepCopyDeep copy the RecordLockingConflict object
FilenameName of the file in which last record locking conflict occurred
LockTimeMillisecondsTime that the conflicting record was locked
LockingUserNumberUser number of the user that locked the conflicting record
NewCreate a new RecordLockingConflict object
NewFromLastConflictCreate object from current conflict information
RecordNumberRecord number of the record that has the conflict
UserIDUser ID (login name) of the user that has the conflict
UserNumberUser number of the user that has the conflict

The methods in the class are described in the subsections that follow. In addition:


Filename property