EXTERN_C int climain( int argc, char **argv )
{
+ try
+ {
+
/* Set up the diagnostic message handler, using the console's
* `stderr' stream for notifications...
*/
* function without a return value assignment...
*/
return dmh_notify( DMH_FATAL, "%s: cannot load configuration\n", dfile );
+
+ }
+ catch (dmh_exception &e)
+ {
+ return EXIT_FAILURE;
+ }
}
/* $RCSfile$: end of file */