summaryrefslogtreecommitdiff
path: root/TAO/tao/Server_Request.cpp
diff options
context:
space:
mode:
authorcoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-03-30 15:52:49 +0000
committercoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-03-30 15:52:49 +0000
commit80f1e59bc37a59c0fcdd4e0f4deb08bcc044c6fd (patch)
treebbde1d70d609b9a5830a18078cbe55a61c7c2632 /TAO/tao/Server_Request.cpp
parentaa92b0fee953fabbadfb1e8ab1fdaec4bd0a840b (diff)
downloadATCD-80f1e59bc37a59c0fcdd4e0f4deb08bcc044c6fd.tar.gz
ChangeLogTag:Tue Mar 30 09:51:03 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
Diffstat (limited to 'TAO/tao/Server_Request.cpp')
-rw-r--r--TAO/tao/Server_Request.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/TAO/tao/Server_Request.cpp b/TAO/tao/Server_Request.cpp
index a2972cf1944..cd4b94b667b 100644
--- a/TAO/tao/Server_Request.cpp
+++ b/TAO/tao/Server_Request.cpp
@@ -70,7 +70,7 @@ IIOP_ServerRequest::IIOP_ServerRequest (TAO_InputCDR &input,
}
void
-IIOP_ServerRequest::parse_header_std (CORBA::Environment &env)
+IIOP_ServerRequest::parse_header_std (CORBA::Environment &ACE_TRY_ENV)
{
// Tear out the service context ... we currently ignore it, but it
// should probably be passed to each ORB service as appropriate
@@ -120,12 +120,12 @@ IIOP_ServerRequest::parse_header_std (CORBA::Environment &env)
}
if (!hdr_status)
- env.exception (new CORBA::COMM_FAILURE (CORBA::COMPLETED_NO));
+ ACE_THROW (CORBA::COMM_FAILURE (CORBA::COMPLETED_NO));
}
void
-IIOP_ServerRequest::parse_header_lite (CORBA::Environment &env)
+IIOP_ServerRequest::parse_header_lite (CORBA::Environment &ACE_TRY_ENV)
{
TAO_InputCDR& input = *this->incoming_;
@@ -159,7 +159,7 @@ IIOP_ServerRequest::parse_header_lite (CORBA::Environment &env)
}
if (!hdr_status)
- env.exception (new CORBA::COMM_FAILURE (CORBA::COMPLETED_NO));
+ ACE_THROW (CORBA::COMM_FAILURE (CORBA::COMPLETED_NO));
}
@@ -256,7 +256,7 @@ IIOP_ServerRequest::arguments (CORBA::NVList_ptr &list,
CORBA::Any_ptr any = nv->value ();
CORBA::TypeCode_var tc = any->type ();
- // @@ (JP) The following code depends on the fact that
+ // @@ (JP) The following code depends on the fact that
// TO_InputCDR does not contain chained message blocks.
char *begin, *end;
@@ -264,7 +264,7 @@ IIOP_ServerRequest::arguments (CORBA::NVList_ptr &list,
begin = this->incoming_->rd_ptr ();
// Skip over the next aregument.
- CORBA::TypeCode::traverse_status status =
+ CORBA::TypeCode::traverse_status status =
this->incoming_->skip (tc.in (), env);
if (status != CORBA::TypeCode::TRAVERSE_CONTINUE)
@@ -297,10 +297,10 @@ IIOP_ServerRequest::arguments (CORBA::NVList_ptr &list,
any->_tao_replace (tc.in (),
cdr,
0,
- env);
-
- // Now we can release the original.
- ACE_Message_Block::release (cdr);
+ env);
+
+ // Now we can release the original.
+ ACE_Message_Block::release (cdr);
}
// If any data is left over, it'd be context values ... else error.