On 14/gen/09, at 15:45, Christian Schmitz wrote:

Massimo Valle <[email protected]> wrote:

So I can avoid using shared methods. Just use the constructor and
raise an exception if the argument is not valid.

You can use some shared methods for factory. The constructor (a method
named Constructor) is not called by REALnewInstance(), so you can create
your object without having the exception raised.

Yes, this is what I'm doing now.

Massimo Valle



_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to