MSIR.0876 Can't create instance of abstract class: Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
(Automatically generated page update) |
||
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:Sirius Mods | [[Category:Sirius Mods messages]] |
Revision as of 18:01, 19 April 2013
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.