MSIR.0874 Class (classname) contains unimplemented abstract methods: Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
(Automatically generated page update) |
||
(3 intermediate revisions by 2 users 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: | {{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=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 |