summaryrefslogtreecommitdiff
path: root/tests/Reactor_Exceptions_Test.cpp
diff options
context:
space:
mode:
authornobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-07-08 03:00:48 +0000
committernobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-07-08 03:00:48 +0000
commitc3c5c65990e08709a59a3a2c1d31161997e2a750 (patch)
treeccc2ba6a31b98bdb3ce1c19bc29dfcb540b9f078 /tests/Reactor_Exceptions_Test.cpp
parent9d06140d8330d467a08764b399682a67808b7419 (diff)
downloadATCD-ami_phase3_end.tar.gz
This commit was manufactured by cvs2svn to create tagami_phase3_end
'ami_phase3_end'.
Diffstat (limited to 'tests/Reactor_Exceptions_Test.cpp')
-rw-r--r--tests/Reactor_Exceptions_Test.cpp21
1 files changed, 0 insertions, 21 deletions
diff --git a/tests/Reactor_Exceptions_Test.cpp b/tests/Reactor_Exceptions_Test.cpp
index fa7f3797c4e..cc4905525fa 100644
--- a/tests/Reactor_Exceptions_Test.cpp
+++ b/tests/Reactor_Exceptions_Test.cpp
@@ -107,29 +107,9 @@ public:
virtual int handle_events (ACE_Time_Value *max_wait_time)
{
int ret = 0;
-
try
{
-# if defined (__BORLANDC__)
- // BCB does not catch structured exceptions with catch (...).
- // Actually, the ANSI spec says that system exceptions are not
- // supposed to be caught with catch. Borland may add this, and
- // make it "switchable" in the future...
- try
- {
-# endif /* defined (__BORLANDC__) */
-
ret = ACE_Reactor::handle_events (max_wait_time);
-
-# if defined (__BORLANDC__)
- }
- __except (EXCEPTION_EXECUTE_HANDLER)
- {
- // Probably should handle the details of the exception
- // and throw something that represents the structured exception
- throw "Win32 Structured Exception";
- }
-# endif /* defined (__BORLANDC__) */
}
catch (...)
{
@@ -138,7 +118,6 @@ public:
ret = -1;
// do your thing, etc.
}
-//}
return ret;
}