New (BadJournal constructor): Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (shared class)
Line 9: Line 9:
<td>A reference to an instance of a <var>[[BadJournal_class|BadJournal]]</var> object.
<td>A reference to an instance of a <var>[[BadJournal_class|BadJournal]]</var> object.
</td></tr>
</td></tr>
<tr><th>number</th>
<tr><th>%(BadJournal)</th><td>The class name in parentheses denotes a shared method.</td></tr>
<td>This optional, but <var>[[Methods#Named parameters|Name-Required]]</var> parameter, specifies the numeric reason code to be assigned to the <var>BadJournal</var> exception object's <var>ReasonCode</var> property when a daemon thread is lost.
<tr><th>ReasonCode</th>
<td>This optional, but <var>[[Methods#Named parameters|Name-Required]]</var> parameter <var class="term>ReasonCode</var>, specifies the numeric reason code to be assigned to the <var>BadJournal</var> exception object's <var>ReasonCode</var> property when a daemon thread is lost.
<p>The possible values are described in "[[ReasonCode (BadJournal property)#Syntax terms|BadJournal ReasonCodes]]".</p>
<p>The possible values are described in "[[ReasonCode (BadJournal property)#Syntax terms|BadJournal ReasonCodes]]".</p>
</td></tr></table>
</td></tr></table>

Revision as of 04:53, 22 April 2011

Create a new BadJournal object (BadJournal class)

[Introduced in Sirius Mods 7.8]

The New constructor generates an instance of a BadJournal exception object, optionally also setting the ReasonCode property.

Syntax

%badJournal = [%(BadJournal):]New( ReasonCode= number)

Syntax terms

%badJournal A reference to an instance of a BadJournal object.
%(BadJournal)The class name in parentheses denotes a shared method.
ReasonCode This optional, but Name-Required parameter ReasonCode, specifies the numeric reason code to be assigned to the BadJournal exception object's ReasonCode property when a daemon thread is lost.

The possible values are described in "BadJournal ReasonCodes".

Usage Notes

See also