|
|
(15 intermediate revisions by 4 users not shown) |
Line 1: |
Line 1: |
| {{Template:BadJournal:New subtitle}}
| | #REDIRECT [[BadJournal class#New constructor|New constructor]] |
|
| | |
| This constructor generates an instance of a <var>BadJournal</var> exception.
| | [[Category:BadJournal methods|New constructor]] |
| As shown below, the optional argument of the <var>New</var> method is a setting of
| |
| the <var>ReasonCode</var> property.
| |
| ==Syntax==
| |
| {{Template:BadJournal:New syntax}}
| |
| ===Syntax terms===
| |
| <table class="syntaxTable">
| |
| <tr><th>%bdJrnl</th>
| |
| <td>A reference to an instance of a <var>BadJournal</var> object.
| |
| </td></tr>
| |
| <tr><th>ReasonCode</th>
| |
| <td>This [[Methods#Named parameters|name required]] 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.
| |
| The possible values are described in [[ReasonCode (BadJournal property)#Syntax terms|"ReasonCode Syntax terms"]].
| |
|
| |
| </td></tr></table>
| |
| ==See also==
| |
| {{Template:BadJournal:New footer}}
| |