summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/orbsvcs/SSLIOP/SSLIOP_Current.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/SSLIOP/SSLIOP_Current.cpp')
-rw-r--r--TAO/orbsvcs/orbsvcs/SSLIOP/SSLIOP_Current.cpp9
1 files changed, 2 insertions, 7 deletions
diff --git a/TAO/orbsvcs/orbsvcs/SSLIOP/SSLIOP_Current.cpp b/TAO/orbsvcs/orbsvcs/SSLIOP/SSLIOP_Current.cpp
index 4e6a1a8bab5..ad852d19eff 100644
--- a/TAO/orbsvcs/orbsvcs/SSLIOP/SSLIOP_Current.cpp
+++ b/TAO/orbsvcs/orbsvcs/SSLIOP/SSLIOP_Current.cpp
@@ -25,8 +25,6 @@ TAO::SSLIOP::Current::~Current (void)
::SSLIOP::ASN_1_Cert *
TAO::SSLIOP::Current::get_peer_certificate ()
- ACE_THROW_SPEC ((CORBA::SystemException,
- SSLIOP::Current::NoContext))
{
TAO::SSLIOP::Current_Impl *impl = this->implementation ();
@@ -34,7 +32,7 @@ TAO::SSLIOP::Current::get_peer_certificate ()
// we're not in the middle of a request or an upcall. Throw an
// exception to indicate that.
if (impl == 0)
- ACE_THROW_RETURN (::SSLIOP::Current::NoContext (), 0);
+ throw ::SSLIOP::Current::NoContext ();
// A valid value must always be returned, so instantiate a sequence
// regardless of whether or not it is populated with certificates.
@@ -57,8 +55,6 @@ TAO::SSLIOP::Current::get_peer_certificate ()
SSLIOP::SSL_Cert *
TAO::SSLIOP::Current::get_peer_certificate_chain ()
- ACE_THROW_SPEC ((CORBA::SystemException,
- SSLIOP::Current::NoContext))
{
TAO::SSLIOP::Current_Impl *impl = this->implementation ();
@@ -66,7 +62,7 @@ TAO::SSLIOP::Current::get_peer_certificate_chain ()
// we're not in the middle of a request or an upcall. Throw an
// exception to indicate that.
if (impl == 0)
- ACE_THROW_RETURN (SSLIOP::Current::NoContext (), 0);
+ throw SSLIOP::Current::NoContext ();
// A valid value must always be returned, so instantiate a sequence
// regardless of whether or not it is populated with certificates.
@@ -89,7 +85,6 @@ TAO::SSLIOP::Current::get_peer_certificate_chain ()
CORBA::Boolean
TAO::SSLIOP::Current::no_context (void)
- ACE_THROW_SPEC ((CORBA::SystemException))
{
return (this->implementation () == 0 ? 1 : 0);
}