|
|
(17 intermediate revisions by 6 users not shown) |
Line 1: |
Line 1: |
| <span class="pageSubtitle"><section begin=dpl_desc/>Create new BadJournal instance<section end=dpl_desc/></span>
| | #REDIRECT [[BadJournal class#New constructor|New constructor]] |
| | |
| [[Category:BadJournal methods|New constructor]] | | [[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.
| |
| As shown below, the optional argument of the <var>New</var> method is a setting of
| |
| the <var>ReasonCode</var> property.
| |
| ==Syntax==
| |
| <p class="syntax">[%bdJrnl =] [%(BadJournal):] New(ReasonCode=num)
| |
| </p>
| |
| ===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>
| |