MSIR.0874 Class (classname) contains unimplemented abstract methods

From m204wiki
Jump to navigation Jump to search

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