ReasonCode (BadJournal property): Difference between revisions
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>% | <tr><th>%number</th> | ||
<td>This is a numeric variable to | <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>% | <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> | |||
==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:
| ||||||||
---|---|---|---|---|---|---|---|---|---|
%badJournal | A reference to an instance of a BadJournal object. |
Usage Notes
- ReasonCode is available in "Sirius Mods" Version 7.8 and later.