summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/orbsvcs/Security/SL3_SecurityCurrent.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/Security/SL3_SecurityCurrent.cpp')
-rw-r--r--TAO/orbsvcs/orbsvcs/Security/SL3_SecurityCurrent.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/TAO/orbsvcs/orbsvcs/Security/SL3_SecurityCurrent.cpp b/TAO/orbsvcs/orbsvcs/Security/SL3_SecurityCurrent.cpp
index 04ada737774..faec8ac6679 100644
--- a/TAO/orbsvcs/orbsvcs/Security/SL3_SecurityCurrent.cpp
+++ b/TAO/orbsvcs/orbsvcs/Security/SL3_SecurityCurrent.cpp
@@ -28,7 +28,6 @@ TAO::SL3::SecurityCurrent::~SecurityCurrent (void)
SecurityLevel3::ClientCredentials_ptr
TAO::SL3::SecurityCurrent::client_credentials (void)
- ACE_THROW_SPEC ((CORBA::SystemException))
{
TAO::SL3::SecurityCurrent_Impl * impl = this->implementation ();
@@ -36,15 +35,13 @@ TAO::SL3::SecurityCurrent::client_credentials (void)
// we're not in the middle of a request/upcall. Throw an exception
// to indicate that.
if (impl == 0)
- ACE_THROW_RETURN (CORBA::BAD_INV_ORDER (),
- SecurityLevel3::ClientCredentials::_nil ());
+ throw CORBA::BAD_INV_ORDER ();
return impl->client_credentials ();
}
CORBA::Boolean
TAO::SL3::SecurityCurrent::request_is_local (void)
- ACE_THROW_SPEC ((CORBA::SystemException))
{
TAO::SL3::SecurityCurrent_Impl * impl = this->implementation ();
@@ -52,7 +49,7 @@ TAO::SL3::SecurityCurrent::request_is_local (void)
// we're not in the middle of a request/upcall. Throw an exception
// to indicate that.
if (impl == 0)
- ACE_THROW_RETURN (CORBA::BAD_INV_ORDER (), false);
+ throw CORBA::BAD_INV_ORDER ();
return impl->request_is_local ();
}