summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralex <alex@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-05-29 20:54:23 +0000
committeralex <alex@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-05-29 20:54:23 +0000
commitf93b51fb0ad6d262ce0fd5fdea83a0d46906373d (patch)
tree2dcc3bc311777a56b4a270d97e681f20798b0c2c
parent5946b53dca868177a0c81ed5222b5ae868815ff9 (diff)
downloadATCD-f93b51fb0ad6d262ce0fd5fdea83a0d46906373d.tar.gz
Addressed this comment.
// @@ 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.
-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,