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

Massimo Valle <[email protected]> wrote:

Hi all,

Is there a way to create a class with a private (or not exposed)
constructor?

No, but you can raise an exception there.


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

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