exceptions

Controls the availability of C++ exception handling.

Syntax
  #pragma exceptions on | off | reset
  
  
Remarks

If you enable this pragma, you can use the try and catch statements in C++ to perform exception handling. If your program does not use exception handling, disable this setting to make your program smaller.

You can throw exceptions across any code compiled by the CodeWarrior C/C++ compiler with #pragma exceptions on.

You cannot throw exceptions across libraries compiled with #pragma exceptions off. If you throw an exception across such a library, the code calls terminate() and exits.

This pragma corresponds to the Enable C++ Exceptions setting in the CodeWarrior IDE's C/C++ Language settings panel. By default, this pragma is on.