New (BadJournal constructor): Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (1 revision)
m (Redirected page to BadJournal class#New constructor)
Line 1: Line 1:
{{Template:BadJournal:New subtitle}}
#REDIRECT [[BadJournal class#New constructor]]
The <var>New</var> constructor generates an instance of a <var>[[BadJournal_class|BadJournal]]</var> exception object, optionally also setting the <var>ReasonCode</var> property.


==Syntax==
[[Category:BadJournalmethods|New constructor]]
{{Template:BadJournal:New syntax}}
===Syntax terms===
<table class="syntaxTable">
<tr><th>%badJournal</th>
<td>A reference to an instance of a <var>[[BadJournal_class|BadJournal]]</var> object.
</td></tr>
<tr><th>%(BadJournal)</th><td>The class name in parentheses denotes a shared method.</td></tr>
<tr><th><var>ReasonCode</var></th>
<td>This optional, but [[Methods#Named parameters|name required]] 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>
</td></tr></table>
 
==Usage Notes==
<ul>
<li><var>New</var> is available in <var class="product">[[Sirius Mods|Sirius Mods]]</var> Version 7.8 and later.
</ul>
 
==See also==
{{Template:BadJournal:New footer}}

Revision as of 21:27, 9 May 2011