New (BadJournal constructor): Difference between revisions

From m204wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
<span class="pageSubtitle"><section begin=dpl_desc/>Create new BadJournal instance<section end=dpl_desc/></span>
{{Template:BadJournal:New subtitle}}
[[Category:BadJournal methods|New constructor]]
<p>
New is a member of the [[BadJournal class]].
</p>
   
   
This constructor generates an instance of a <var>BadJournal</var> exception.
This constructor generates an instance of a <var>BadJournal</var> exception.
Line 9: Line 5:
the <var>ReasonCode</var> property.
the <var>ReasonCode</var> property.
==Syntax==
==Syntax==
<p class="syntax">[%bdJrnl =] [%(BadJournal):] New(ReasonCode=num)
{{Template:BadJournal:New syntax}}
</p>
===Syntax terms===
===Syntax terms===
<table class="syntaxTable">
<table class="syntaxTable">
Line 21: Line 16:
   
   
</td></tr></table>
</td></tr></table>
==See also==
{{Template:BadJournal:New footer}}

Revision as of 20:39, 25 March 2011

Create a new BadJournal object (BadJournal class)

[Introduced in Sirius Mods 7.8]

This constructor generates an instance of a BadJournal exception. As shown below, the optional argument of the New method is a setting of the ReasonCode property.

Syntax

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

Syntax terms

%bdJrnl A reference to an instance of a BadJournal object.
ReasonCode This 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 "ReasonCode Syntax terms".

See also