c++ - Exception Handling
- "Pramod Subramanyan" <pramod_sx rediffmail.com> Apr 22 2001
- Jan Knepper <jan smartsoft.cc> Apr 22 2001
How do you turn on exception handling by default ? Can you throw just about anything in C++ ? Is there any Java like Exception object that you subclass to create your own exceptions ? Or do you just throw the first that catches your fancy ?
Apr 22 2001
Pramod Subramanyan wrote:How do you turn on exception handling by default ?
Throw the -Ae compiler flag.Can you throw just about anything in C++ ?
Yeah! <g>Is there any Java like Exception object that you subclass to create your own exceptions ? Or do you just throw the first that catches your fancy ?
You can build that yourself if you want to... Jan
Apr 22 2001