ReasonCode (BadJournal property): Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (1 revision)
m (match syntax table to syntax template, tags and edits)
Line 1: Line 1:
{{Template:BadJournal:ReasonCode subtitle}}
{{Template:BadJournal:ReasonCode subtitle}}
==Syntax==
==Syntax==
{{Template:BadJournal:ReasonCode syntax}}
{{Template:BadJournal:ReasonCode syntax}}
===Syntax terms===
===Syntax terms===
<table class="syntaxTable">
<table class="syntaxTable">
<tr><th>%rc</th>
<tr><th>%number</th>
<td>This is a numeric variable to contain the code that describes the reason the exception was thrown. Possible values include: <dl> <dt>1 <dd>Either the dataset or stream name is invalid, or the journal is invalid. <dt>2 <dd>The dataset or stream is empty. <dt>3 <dd>The journal was created with a different <var class="product">Model 204</var> version than the current Online. <dt>4 <dd>A merged journal is invalid. </dl>
<td>This is a numeric variable to receive the code describing the reason the exception was thrown. Possible values include:
<table>
<tr><th>1</th><td>Either the dataset or stream name is invalid, or the journal is invalid.</td></tr>
<tr><th>2</th><td>The dataset or stream is empty.</td></tr>
<tr><th>3</th><td>The journal was created with a different <var class="product">Model 204</var> version than the current Online.</td></tr>
<tr><th>4</th><td>A merged journal is invalid.</td></tr>
</table>
</td></tr>
</td></tr>
<tr><th>%bdJrnl</th>
<tr><th>%badJournal</th>
<td>A reference to an instance of a BadJournal object.
<td>A reference to an instance of a <var>[[BadJournal_class|BadJournal]]</var> object.
</td></tr></table>
 
==Usage Notes==
<ul>
<li><var>ReasonCode</var> is available in <var class="product">[[Sirius Mods|"Sirius Mods"]]</var> Version 7.8 and later.
</ul>


</td></tr></table>
==See also==
==See also==
{{Template:BadJournal:ReasonCode footer}}
{{Template:BadJournal:ReasonCode footer}}

Revision as of 06:02, 10 April 2011

Numeric code indicating cause of BadJournal exception (BadJournal class)

[Introduced in Sirius Mods 7.8]

Syntax

%number = badJournal:ReasonCode

Syntax terms

%number This is a numeric variable to receive the code describing the reason the exception was thrown. Possible values include:
1Either the dataset or stream name is invalid, or the journal is invalid.
2The dataset or stream is empty.
3The journal was created with a different Model 204 version than the current Online.
4A merged journal is invalid.
%badJournal A reference to an instance of a BadJournal object.

Usage Notes

  • ReasonCode is available in "Sirius Mods" Version 7.8 and later.

See also