MSIR.0874 Class (classname) contains unimplemented abstract methods: Difference between revisions

From m204wiki
Jump to navigation Jump to search
(Automatically generated page update)
(Automatically generated page update)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
An extension class of an abstract class did not declare methods that Implement all abstract methods in the base class. If the extension class is, itself, abstract, it must still Implement all abstract methods in the base class, possibly as abstract. This problem could also arise if an abstract method is added to an abstract class after it's been extended. For this reason, it is recommended that, instead of adding abstract methods to extended classes, you use overridable methods wherever possible.
An extension class of an abstract class did not declare methods that Implement all abstract methods in the base class. If the extension class is, itself, abstract, it must still Implement all abstract methods in the base class, possibly as abstract. This problem could also arise if an abstract method is added to an abstract class after it's been extended. For this reason, it is recommended that, instead of adding abstract methods to extended classes, you use overridable methods wherever possible.


[[Category:Sirius Mods messages]]
{{Template:MSIR.0874 footer}}
[[Category:MSIR.0800 - MSIR.0999]]

Latest revision as of 23:35, 3 March 2017

An extension class of an abstract class did not declare methods that Implement all abstract methods in the base class. If the extension class is, itself, abstract, it must still Implement all abstract methods in the base class, possibly as abstract. This problem could also arise if an abstract method is added to an abstract class after it's been extended. For this reason, it is recommended that, instead of adding abstract methods to extended classes, you use overridable methods wherever possible.


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