Product Information > JADE Error Messages and System Messages > 6000 through 6999 - JADE Compiler Errors > 6115 - Constructors and destructors cannot have parameters or return type

6115   Constructors and destructors cannot have parameters or return type

Cause

This error occurs if you attempt to define a constructor (create) or destructor (delete) method with parameters or a return type. Constructors and destructors in JADE cannot have parameters or a return type.

Action

Remove the parameters or return type from the method. As parameters cannot be used in a constructor, any initialization of an object using external values must be performed by using an additional initialize (or similarly named) method.