Product Information > JADE Error Messages and System Messages > 6000 through 6999 - JADE Compiler Errors > 6311 - Cannot reimplement method in a subschema copy class

6311   Cannot reimplement method in a subschema copy class

Cause

This error occurs if you attempt to reimplement a method in a subschema copy class and the method has been defined with the subschemaCopyFinal option. This is not permitted.

The subschemaCopyFinal option prevents superschema subclasses from inheriting subschema reimplementations, which can potentially cause unexpected behavior; for example, reimplementing the getAtKey method from the Dictionary class in a MemberKeyDictionary subschema copy class is not permitted.

Under normal circumstances, you cannot reimplement a subschemaCopyFinal method in a subschema copy class. A warning message box is displayed before the method can be added, to inform you that the action is not permitted.

Action

Remove the invalid method definition. It may be possible to reimplement the method in a subclass rather than a subschema copy class.