summaryrefslogtreecommitdiff
path: root/TAO/tests/RTCORBA/Banded_Connections/server.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/RTCORBA/Banded_Connections/server.cpp')
-rw-r--r--TAO/tests/RTCORBA/Banded_Connections/server.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/TAO/tests/RTCORBA/Banded_Connections/server.cpp b/TAO/tests/RTCORBA/Banded_Connections/server.cpp
index de595175f04..69c5979a187 100644
--- a/TAO/tests/RTCORBA/Banded_Connections/server.cpp
+++ b/TAO/tests/RTCORBA/Banded_Connections/server.cpp
@@ -270,13 +270,13 @@ object_activation_exception_test (RTPortableServer::POA_ptr poa,
// should have been raised.
ACE_DEBUG ((LM_DEBUG, "ERROR: no exception caught\n"));
}
- catch (const CORBA::BAD_PARAM& ex)
+ catch (const CORBA::BAD_PARAM&)
{
// Expected exception.
ACE_DEBUG ((LM_DEBUG,
"BAD_PARAM exception is caught as expected.\n"));
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// Unexpected exception.
ACE_DEBUG ((LM_DEBUG, "ERROR: unexpected exception caught\n"));
@@ -301,13 +301,13 @@ poa_creation_exception_test (PortableServer::POA_ptr root_poa,
// should have been raised.
ACE_DEBUG ((LM_DEBUG, "ERROR: no exception caught\n"));
}
- catch (const PortableServer::POA::InvalidPolicy& ex)
+ catch (const PortableServer::POA::InvalidPolicy&)
{
// Expected exception.
ACE_DEBUG ((LM_DEBUG,
"InvalidPolicy exception is caught as expected.\n"));
}
- catch (const CORBA::Exception& ex)
+ catch (const CORBA::Exception&)
{
// Unexpected exception.
ACE_DEBUG ((LM_DEBUG, "ERROR: unexpected exception\n"));