Text archives Help
- From: James Bigler <bigler@cs.utah.edu>
- To: "'manta@sci.utah.edu'" <manta@sci.utah.edu>, render@sci.utah.edu
- Subject: [MANTA] exit() in Manta is bad
- Date: Wed, 18 Jul 2007 20:41:49 -0600
Please, please, please, don't use exit() in Manta code. Manta is used as a
library in other places and having it take your whole application down is a Bad
Thing (TM).
You should use exceptions:
if (bad thing)
throw InternalError("Bad thing happened", __FILE__, __LINE__);
Thanks,
James
- [MANTA] exit() in Manta is bad, James Bigler, 07/18/2007
Archive powered by MHonArc 2.6.16.