New (BadJournal constructor): Difference between revisions

From m204wiki
Jump to navigation Jump to search
mNo edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Template:BadJournal:New subtitle}}
#REDIRECT [[BadJournal class#New constructor|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:BadJournal methods|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}}

Latest revision as of 23:11, 9 May 2011