Method Abstract():noMethod() Foundation

Handles calls to undefined methods

:noMethod( cMessage, [<xValue>,...] ) --> xReturn
The message send to the object.
The parameters passed by the callee to the undefined method.

The return value will be interpreted as the return value of the called undefined method.


If an undefined method is called, a runtime error is raised. However, when :noMethod() is declared in the class, the runtime error will not occur. Instead, program execution is directed to this method. The parameter <cMessage> contains the name of the undefined method, followed by the parameters the callee has passed to the method call.


If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.