diff options
Diffstat (limited to 'examples/Simple/time')
-rw-r--r-- | examples/Simple/time/Time_i.h | 3 | ||||
-rw-r--r-- | examples/Simple/time/server.cpp | 5 |
2 files changed, 6 insertions, 2 deletions
diff --git a/examples/Simple/time/Time_i.h b/examples/Simple/time/Time_i.h index 2260d52a185..d97c0937fa0 100644 --- a/examples/Simple/time/Time_i.h +++ b/examples/Simple/time/Time_i.h @@ -51,8 +51,7 @@ private: /// ORB pointer. CORBA::ORB_var orb_; - /// Keeping g++2.7.2 - ACE_UNIMPLEMENTED_FUNC (void operator= (const Time_i &)) + void operator= (const Time_i &); }; #endif /* TIME_I_H */ diff --git a/examples/Simple/time/server.cpp b/examples/Simple/time/server.cpp index ac8368fbdbf..7a19abd727f 100644 --- a/examples/Simple/time/server.cpp +++ b/examples/Simple/time/server.cpp @@ -33,6 +33,11 @@ ACE_TMAIN(int argc, ACE_TCHAR *argv[]) sysex._tao_print_exception ("System Exception in main"); return -1; } + catch (const ::CORBA::Exception &e) + { + e._tao_print_exception ("CORBA exception in main"); + return 1; + } return 0; } |