New (BadJournal constructor): Difference between revisions
Jump to navigation
Jump to search
m (→Syntax terms) |
mNo edit summary |
||
Line 1: | Line 1: | ||
<span class="pageSubtitle"><section begin=dpl_desc/>Create new BadJournal instance<section end=dpl_desc/></span> | <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]] | ||
Line 5: | Line 4: | ||
New is a member of the [[BadJournal class]]. | New is a member of the [[BadJournal class]]. | ||
</p> | </p> | ||
This constructor generates an instance of a BadJournal exception. | This constructor generates an instance of a <var>BadJournal</var> exception. | ||
As shown below, the optional argument of the New method is a setting of | As shown below, the optional argument of the <var>New</var> method is a setting of | ||
the ReasonCode property. | the <var>ReasonCode</var> property. | ||
==Syntax== | ==Syntax== | ||
<p class="syntax">[%bdJrnl =] [%(BadJournal):] New(ReasonCode=num) | <p class="syntax">[%bdJrnl =] [%(BadJournal):] New(ReasonCode=num) | ||
Line 15: | Line 14: | ||
<table class="syntaxTable"> | <table class="syntaxTable"> | ||
<tr><th>%bdJrnl</th> | <tr><th>%bdJrnl</th> | ||
<td>A reference to an instance of a BadJournal object. | <td>A reference to an instance of a <var>BadJournal</var> object. | ||
</td></tr> | </td></tr> | ||
<tr><th | <tr><th>ReasonCode</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>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> | </td></tr></table> |
Revision as of 20:39, 2 March 2011
<section begin=dpl_desc/>Create new BadJournal instance<section end=dpl_desc/>
New is a member of the BadJournal class.
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
[%bdJrnl =] [%(BadJournal):] New(ReasonCode=num)
Syntax terms
%bdJrnl | A reference to an instance of a BadJournal object. |
---|---|
ReasonCode | 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 Syntax terms". |