MSIR.0861 Class (classname) repeatedly extended: Difference between revisions
Jump to navigation
Jump to search
(Automatically generated page update) |
(Automatically generated page update) |
||
Line 8: | Line 8: | ||
For more information, see [[Inheritance and polymorphism#Repeat inheritance|Repeat inheritance]]. | For more information, see [[Inheritance and polymorphism#Repeat inheritance|Repeat inheritance]]. | ||
{{Template:MSIR.0861 footer}} | |||
[[Category:Sirius Mods messages]] [[Category:MSIR.0800 - MSIR.0999]] | [[Category:Sirius Mods messages]] [[Category:MSIR.0800 - MSIR.0999]] |
Revision as of 19:04, 12 July 2016
A class declaration extended two classes that each extended the same class. This is often (though not always) indicative of an error in the class hierarchy. For example, say the error occurs when class X tries to extend classes D and E which both extend class A. The problem might be corrected by these steps:
- Create classes B and C so that class D extends B and A, and class E extends C and A.
- Make class X extend classes C, B, and A.
For more information, see Repeat inheritance.
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 |