April 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 ?


April 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