diff options
author | bala <balanatarajan@users.noreply.github.com> | 1999-10-21 17:10:04 +0000 |
---|---|---|
committer | bala <balanatarajan@users.noreply.github.com> | 1999-10-21 17:10:04 +0000 |
commit | 17b2bf162f5367953e7092b3fa08da59444c09c8 (patch) | |
tree | ddde4f06a6718df29874059498ab9b47bf754947 | |
parent | 13af298d5b14c9025a78d48717aba1e22d7ac0e5 (diff) | |
download | ATCD-17b2bf162f5367953e7092b3fa08da59444c09c8.tar.gz |
ChangeLogTag: Thu Oct 21 12:07:13 1999 Balachandran Natarajan <bala@cs.wustl.edu>
-rw-r--r-- | TAO/ChangeLog-99c | 10 | ||||
-rwxr-xr-x | TAO/tests/QtTests/test_i.cpp | 3 | ||||
-rwxr-xr-x | TAO/tests/QtTests/test_i.h | 7 |
3 files changed, 18 insertions, 2 deletions
diff --git a/TAO/ChangeLog-99c b/TAO/ChangeLog-99c index 553c94847b9..7f646c2f371 100644 --- a/TAO/ChangeLog-99c +++ b/TAO/ChangeLog-99c @@ -1,3 +1,13 @@ +Thu Oct 21 12:07:13 1999 Balachandran Natarajan <bala@cs.wustl.edu> + + * tests/QtTests/test_i.cpp (send_val): + * tests/QtTests/test_i.h: Made similar changes that could lead to + an error in platforms like IRIX. The changes were nothing, but + addition of the THROW_SPEC to the signature of the methods in + the implementation class. This example has been tested sofar + only on Linux as we have the libraries for Qt only on that + platform. + Thu Oct 21 11:52:50 1999 Balachandran Natarajan <bala@cs.wustl.edu> * tests/Xt_Stopwatch/timer.h: diff --git a/TAO/tests/QtTests/test_i.cpp b/TAO/tests/QtTests/test_i.cpp index 8645d640bbf..3b63ecbef4b 100755 --- a/TAO/tests/QtTests/test_i.cpp +++ b/TAO/tests/QtTests/test_i.cpp @@ -18,15 +18,18 @@ LCD_Display_imp::LCD_Display_imp (CORBA::ORB_ptr orb) void LCD_Display_imp::shutdown (CORBA::Environment&) + ACE_THROW_SPEC ((CORBA::SystemException)) { ACE_DEBUG ((LM_DEBUG, "The ORB has been shutdown, Close the windows to exit \n")); this->orb_->shutdown (0); + this->orb_->destroy (); } void LCD_Display_imp::send_val (CORBA::Long val, CORBA::Environment &) + ACE_THROW_SPEC ((CORBA::SystemException)) { ACE_DEBUG ((LM_DEBUG, "The value from server is <%d> \n", val)); diff --git a/TAO/tests/QtTests/test_i.h b/TAO/tests/QtTests/test_i.h index e7eec99420b..2f66126a079 100755 --- a/TAO/tests/QtTests/test_i.h +++ b/TAO/tests/QtTests/test_i.h @@ -38,9 +38,12 @@ public: // ctor - void shutdown (CORBA::Environment&); + void shutdown (CORBA::Environment&) + ACE_THROW_SPEC ((CORBA::SystemException)); - void send_val (CORBA::Long val, CORBA::Environment &); + void send_val (CORBA::Long val, + CORBA::Environment &) + ACE_THROW_SPEC ((CORBA::SystemException)); signals: void set_value (int val); |