MSIR.0861 Class (classname) repeatedly extended: Difference between revisions

From m204wiki
Jump to navigation Jump to search
(Created page with "A class declaration extended two classes that each extended the same class. Repeat inheritance is not currently supported in ''Janus SOAP ULI'', and it is often (though not a...")
 
(Automatically generated page update)
 
(5 intermediate revisions by 4 users not shown)
Line 1: Line 1:
A class declaration extended two classes that each extended the same class. Repeat inheritance is not currently supported in ''[[Janus SOAP ULI]]'', and it 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:
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:


<ol> <li>Create classes B and C so that class D extends B and A, and class E extends C and A. <li>Make class X extend classes C, B, and A.</ol>  
<ol>  
<li>Create classes B and C so that class D extends B and A, and class E extends C and A.  
<li>Make class X extend classes C, B, and A.
</ol>  


For more information see the ''Janus SOAP Reference Manual''.
For more information, see [[Inheritance and polymorphism#Repeat inheritance|Repeat inheritance]].


[[Category:Sirius Mods Messages]]
{{Template:MSIR.0861 footer}}
[[Category:MSIR.0800 - MSIR.0999]]

Latest revision as of 23:35, 3 March 2017

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:

  1. Create classes B and C so that class D extends B and A, and class E extends C and A.
  2. Make class X extend classes C, B, and A.

For more information, see Repeat inheritance.


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