Where do you like to catch exceptions and why?
I\'m interested in seeing where people find it useful to put their try/catch blocks in the hope that some general patt
I always put a catch in main() as a catch of last resort:
int main( int argc, char** argv ) { try { Application application( argc, argv ); return application.result(); } catch ( const std::exception& exception ) { fprintf( stderr, "%s.\n", exception.what() ); } }