diff options
Diffstat (limited to 'TAO/examples/CSD_Strategy/ThreadPool3/ClientApp.cpp')
-rw-r--r-- | TAO/examples/CSD_Strategy/ThreadPool3/ClientApp.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/TAO/examples/CSD_Strategy/ThreadPool3/ClientApp.cpp b/TAO/examples/CSD_Strategy/ThreadPool3/ClientApp.cpp index f5301dfc2d2..f4f861490d6 100644 --- a/TAO/examples/CSD_Strategy/ThreadPool3/ClientApp.cpp +++ b/TAO/examples/CSD_Strategy/ThreadPool3/ClientApp.cpp @@ -38,7 +38,7 @@ ClientApp::run(int argc, char* argv[]) { ACE_ERROR((LM_ERROR, "(%P|%t) Failed to convert IOR string to obj ref.\n")); - ACE_THROW_RETURN (TestException(), -1); + throw TestException(); } Foo_var foo = Foo::_narrow(obj.in()); @@ -47,7 +47,7 @@ ClientApp::run(int argc, char* argv[]) { ACE_ERROR((LM_ERROR, "(%P|%t) Failed to narrow obj ref to Foo interface.\n")); - ACE_THROW_RETURN (TestException(), -1); + throw TestException(); } for (CORBA::Long i = 1; i <= 100; i++) |