summaryrefslogtreecommitdiff
path: root/tests/Reactor_Exceptions_Test.cpp
diff options
context:
space:
mode:
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;
}