New (BadJournal constructor)

From m204wiki
Revision as of 04:53, 22 April 2011 by Goff (talk | contribs) (shared class)
Jump to navigation Jump to search

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