in reply to OO: Leaving a constructor midway?

I'd throw an exception from the constructor and catch and redirect where it's called instead. I don't expect any constructor to exit the program for me.

Replies are listed 'Best First'.
Re[2]: OO: Leaving a constructor midway?
by snax (Hermit) on Oct 22, 2003 at 14:50 UTC
    Ahh, a moment of sanity. I was hoping someone would have seen it this way.