New (BadJournal constructor)

From m204wiki
Revision as of 16:07, 14 April 2011 by Dme (talk | contribs)
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.
number This optional, but Name-Required parameter, 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