MSIR.0982: Difference between revisions

From m204wiki
Jump to navigation Jump to search
(Automatically generated page update)
 
m (minor word changes)
 
(6 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{Template:MSIR.0982 skeleton}}
{{Template:MSIR.0982 skeleton}}
<!--Test SOUL.DNC.008.QA in QASHR exercises at least some MSIR.0982 cases. PDS-6626 -->
<p>
<p>
Description
This error is produced through incorrect use of the special case exception methods [[Exceptions#OnThrow and OnUncaught|OnThrow and OnUncaught]]. The following examples are among the texts that might appear with this message:
</p>
<p>
<b>Response:</b>
</p>
</p>
<ul>
<li>The <var>OnThrow</var> or <var>OnUncaught</var> method is defined as a method type other than a subroutine, in which case the following message is produced:
<p class="code>MSIR.0982: Exception On method must be a Subroutine</p></li>
<li>The <var>OnThrow</var> or <var>OnUncaught</var> method is cannot be defined as overridable, although its behavior is similar to an overridable method. In this case the following message is produced:
<p class="code>MSIR.0982: Exception On method cannot be explicitly overridable</p></li>
<li>An <var>OnThrow</var> or <var>OnUncaught</var> method cannot be defined with a parameter list. In this case the following message is produced:
<p class="code>MSIR.0982: Exception On method has an invalid parameter list</p></li>
</ul>
{{Template:MSIR.0982 footer}}
{{Template:MSIR.0982 footer}}

Latest revision as of 17:56, 5 July 2018

MSIR.0982  Exception On method token

This error is produced through incorrect use of the special case exception methods OnThrow and OnUncaught. The following examples are among the texts that might appear with this message:

  • The OnThrow or OnUncaught method is defined as a method type other than a subroutine, in which case the following message is produced:

    MSIR.0982: Exception On method must be a Subroutine

  • The OnThrow or OnUncaught method is cannot be defined as overridable, although its behavior is similar to an overridable method. In this case the following message is produced:

    MSIR.0982: Exception On method cannot be explicitly overridable

  • An OnThrow or OnUncaught method cannot be defined with a parameter list. In this case the following message is produced:

    MSIR.0982: Exception On method has an invalid parameter list

Message attributes:

RETCODEO=0Sets online return code
RETCODEB=4Sets batch (single user) return code
CLASS=EError class; the message can be suppressed with the X'04' bit setting of the MSGCTL parameter
AUDITERWrites the message with line type ER to the audit trail
COUNTIncrements the error count (ERCNT) parameter
ECHODisplays the line that caused the error

Back to list of messages