Text archives Help
- From: Roni Choudhury <roni@cs.utah.edu>
- To: "'manta@sci.utah.edu'" <manta@sci.utah.edu>
- Subject: [Manta] class Exception : public std::exception { ?
- Date: Mon, 18 Feb 2008 22:05:00 -0700
On OSX, the runtime prints out whatever string comes out of
std::exception::what() for unhandled std::exceptions. This is highly
useful, but I noticed that Manta::Exception doesn't inherit from
std::exception. I modified my working copy so that it does, and
everything seems to run ok.
If I check this change in, will anything explode? The major change is
to make the Exception-derived classes have throw() destructors (and
technically, I guess, to make the message() method throw() as well, but
I didn't actually do that yet, but the compiler didn't complain). The
only function I didn't look up is FreeLibrary, which gets called in the
StackWalkerInternal destructor (and the compiler doesn't complain about it).
Please advise.
roni
- [Manta] class Exception : public std::exception { ?, Roni Choudhury, 02/19/2008
Archive powered by MHonArc 2.6.16.