New (BadJournal constructor)

From m204wiki
Jump to navigation Jump to search

<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=num 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".