MSIR.0868 Invalid %this reference -- class (classname) not constructed: Difference between revisions

From m204wiki
Jump to navigation Jump to search
(Created page with "An implicit or explicit reference to <tt>%this</tt> was found in an extension class constructor, but not all base classes had a Construct statement for them yet. Implicit referen...")
 
m (1 revision)
(No difference)

Revision as of 16:45, 9 November 2010

An implicit or explicit reference to %this was found in an extension class constructor, but not all base classes had a Construct statement for them yet. Implicit references to %this are any reference to a class member name (variable or method) with just the name after a percent sign (for example, %foo referring to the Foo method in the class). References to class variables or methods are not allowed until all base classes have been Constructed.

This problem might be caused by a missing Construct statement for a base class. If that's not the case, but the Construct follows the %this reference, it might be possible to move the %this reference after the base class Construct. For more information, see the section discussing inheritance and constructors in the Janus SOAP Reference Manual.