MSIR.0876 Can't create instance of abstract class: Difference between revisions
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 attempt was made to create an object instance of an abstract class. Abstract classes, as the name might suggest, cannot be instantiated. Possibly, the intent in the erroneous statement was to create an instance of an extension class and assign it to a variable of the extension class. In such a case, the extension class must be specified before the name of the constructor, using the ''%(classname):'' syntax. | An attempt was made to create an object instance of an abstract class. Abstract classes, as the name might suggest, cannot be instantiated. Possibly, the intent in the erroneous statement was to create an instance of an extension class and assign it to a variable of the extension class. In such a case, the extension class must be specified before the name of the constructor, using the ''%(classname):'' syntax. | ||
[[Category: | {{Template:MSIR.0876 footer}} | ||
[[Category:MSIR.0800 - MSIR.0999]] |
Latest revision as of 23:35, 3 March 2017
An attempt was made to create an object instance of an abstract class. Abstract classes, as the name might suggest, cannot be instantiated. Possibly, the intent in the erroneous statement was to create an instance of an extension class and assign it to a variable of the extension class. In such a case, the extension class must be specified before the name of the constructor, using the %(classname): syntax.
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 |