MSIR.0977: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
{{Template:MSIR.0977 skeleton}} | {{Template:MSIR.0977 skeleton}} | ||
<p> | <p> | ||
A [[Exceptions#Using_the_Throw_statement|Throw]] statement or block was coded in an invalid context. The following examples are among the texts that might be displayed with this message: | A [[Exceptions#Using_the_Throw_statement|Throw]] statement or block was coded in an invalid context. The following examples are among the texts that might be displayed with this message: | ||
<ul>The target of the Throw statement isn't an instance of an exception class, in which case the following message is porduced | |||
<p class="code">MSIR.0977: THROW invalid -- value not an object</p> | |||
</ul> | |||
</p> | </p> | ||
<p> | <p> | ||
Revision as of 13:06, 19 June 2018
MSIR.0977 THROW invalid -- token
A Throw statement or block was coded in an invalid context. The following examples are among the texts that might be displayed with this message:
- The target of the Throw statement isn't an instance of an exception class, in which case the following message is porduced
MSIR.0977: THROW invalid -- value not an object
Response:
Message attributes:
| RETCODEO=0 | Sets online return code |
|---|---|
| RETCODEB=4 | Sets batch (single user) return code |
| CLASS=E | Error class; the message can be suppressed with the X'04' bit setting of the MSGCTL parameter |
| AUDITER | Writes the message with line type ER to the audit trail |
| COUNT | Increments the error count (ERCNT) parameter |
| ECHO | Displays the line that caused the error |