ReasonCode (BadJournal property): Difference between revisions

From m204wiki
Jump to navigation Jump to search
Line 7: Line 7:
<td>This is a numeric variable to receive the code describing the reason the exception was thrown. Possible values include:
<td>This is a numeric variable to receive the code describing the reason the exception was thrown. Possible values include:
<table>
<table>
<tr><th>1</th><td>Either the dataset or stream name is invalid, or the journal is invalid.</td></tr>
<tr><th><var>1</var></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><var>2</var></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><var>3</var></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>The content of the merged journal is invalid.</td></tr>
<tr><th><var>4</var></th><td>The content of the merged journal is invalid.</td></tr>
</table>
</table>
</td></tr>
</td></tr>

Revision as of 22:55, 14 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.
4The content of the 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