summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--TAO/tao/Invocation.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/TAO/tao/Invocation.cpp b/TAO/tao/Invocation.cpp
index e491e4fbf70..49aa708da10 100644
--- a/TAO/tao/Invocation.cpp
+++ b/TAO/tao/Invocation.cpp
@@ -699,11 +699,9 @@ TAO_GIOP_Twoway_Invocation::invoke_i (CORBA::Environment &ACE_TRY_ENV)
// Bind.
retval = this->transport_->bind_reply_dispatcher (this->request_id_,
&this->rd_);
- // @@ Alex: you cannot raise a SystemException, you must pick a
- // particular one, depending on why it failed it may be a:
- // COMM_FAILURE, TRANSIENT, NO_MEMORY or something else.
if (retval == -1)
- ACE_THROW_RETURN (CORBA::SystemException,
+ ACE_THROW_RETURN (CORBA::INTERNAL (TAO_DEFAULT_MINOR_CODE,
+ CORBA::COMPLETED_MAYBE),
-1);
// This blocks until the response is read. In the current version,