|
|
(13 intermediate revisions by 4 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>number</th>
| |
| <td>This optional, but <var>[[Methods#Named parameters|Name-Required]]</var> parameter, 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>junk for testing
| |
| | |
| ==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}}
| |