<<< Exception Object | Index | Exception Demo >>> |
If exception propagates to the root of the application, the system architect has probably done a poor job of design and the program will probably crash.
To use exceptions, programmers need to write special blocks of code designated by the keywords try and catch:
try { // possible nasty code } catch(Exception e) { // code to handle the exception }
See also: C++ Exceptions
<<< Exception Object | Index | Exception Demo >>> |