|
|
(18 intermediate revisions by 6 users not shown) |
Line 1: |
Line 1: |
| | #REDIRECT [[BadJournal class#New constructor|New constructor]] |
|
| |
|
| <span class="pageSubtitle"><section begin=dpl_desc/>Create new BadJournal instance<section end=dpl_desc/></span>
| |
| [[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 BadJournal exception.
| |
| As shown below, the optional argument of the New method is a setting of
| |
| the ReasonCode 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 BadJournal object.
| |
| </td></tr>
| |
| <tr><th><b>ReasonCode=</b>num</th>
| |
| <td>This name required parameter specifies the numeric reason code to be assigned to the BadJournal exception object's ReasonCode property when a daemon thread is lost. The possible values are described in [[ReasonCode (BadJournal property)#Syntax terms|"ReasonCode Syntax terms"]].
| |
|
| |
| </td></tr></table>
| |