MSIR.0982
Jump to navigation
Jump to search
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=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 |