diff options
author | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-07-08 03:00:48 +0000 |
---|---|---|
committer | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-07-08 03:00:48 +0000 |
commit | c3c5c65990e08709a59a3a2c1d31161997e2a750 (patch) | |
tree | ccc2ba6a31b98bdb3ce1c19bc29dfcb540b9f078 /TAO/examples/Simple/grid/server.cpp | |
parent | 9d06140d8330d467a08764b399682a67808b7419 (diff) | |
download | ATCD-ami_phase3_end.tar.gz |
This commit was manufactured by cvs2svn to create tagami_phase3_end
'ami_phase3_end'.
Diffstat (limited to 'TAO/examples/Simple/grid/server.cpp')
-rw-r--r-- | TAO/examples/Simple/grid/server.cpp | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/TAO/examples/Simple/grid/server.cpp b/TAO/examples/Simple/grid/server.cpp index e721da11e9f..0d31fd11cef 100644 --- a/TAO/examples/Simple/grid/server.cpp +++ b/TAO/examples/Simple/grid/server.cpp @@ -27,20 +27,19 @@ main (int argc, char *argv[]) ACE_TRY_CHECK; } } - ACE_CATCH (CORBA::UserException, userex) + ACE_CATCH (CORBA::SystemException, sysex) { - //ACE_UNUSED_ARG (userex); - ACE_PRINT_EXCEPTION (userex, "User Exception in main"); + ACE_UNUSED_ARG (sysex); + ACE_TRY_ENV.print_exception ("System Exception"); return -1; } - ACE_CATCH (CORBA::SystemException, sysex) + ACE_CATCH (CORBA::UserException, userex) { - //ACE_UNUSED_ARG (sysex); - ACE_PRINT_EXCEPTION (sysex, "System Exception in main "); + ACE_UNUSED_ARG (userex); + ACE_TRY_ENV.print_exception ("User Exception"); return -1; } ACE_ENDTRY; - ACE_CHECK_RETURN (-1); return 0; } |