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.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/TAO/orbsvcs/orbsvcs/SSLIOP/SSLIOP_Current.cpp b/TAO/orbsvcs/orbsvcs/SSLIOP/SSLIOP_Current.cpp
index 4e6a1a8bab5..07d732ea5d8 100644
--- a/TAO/orbsvcs/orbsvcs/SSLIOP/SSLIOP_Current.cpp
+++ b/TAO/orbsvcs/orbsvcs/SSLIOP/SSLIOP_Current.cpp
@@ -34,7 +34,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.
@@ -66,7 +66,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.