summaryrefslogtreecommitdiff
path: root/TAO/tests/Param_Test/bd_long_seq.cpp
diff options
context:
space:
mode:
authorelliott_c <elliott_c@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2007-01-25 18:17:52 +0000
committerelliott_c <elliott_c@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2007-01-25 18:17:52 +0000
commit2ee7b7eed4c0cc10f4ec25b186b04202af01b565 (patch)
tree08a8a649c90559cf5b2228c1caad15515902613e /TAO/tests/Param_Test/bd_long_seq.cpp
parentc979767a00db4ea1299af482033a68829cc16675 (diff)
downloadATCD-2ee7b7eed4c0cc10f4ec25b186b04202af01b565.tar.gz
ChangeLogTag: Thu Jan 25 17:39:59 UTC 2007 Chad Elliott <elliott_c@ociweb.com>
Diffstat (limited to 'TAO/tests/Param_Test/bd_long_seq.cpp')
-rw-r--r--TAO/tests/Param_Test/bd_long_seq.cpp24
1 files changed, 9 insertions, 15 deletions
diff --git a/TAO/tests/Param_Test/bd_long_seq.cpp b/TAO/tests/Param_Test/bd_long_seq.cpp
index ab5e6b1675c..c4ab4067cae 100644
--- a/TAO/tests/Param_Test/bd_long_seq.cpp
+++ b/TAO/tests/Param_Test/bd_long_seq.cpp
@@ -49,8 +49,7 @@ Test_Bounded_Long_Sequence::opname (void) const
}
void
-Test_Bounded_Long_Sequence::dii_req_invoke (CORBA::Request *req
- ACE_ENV_ARG_DECL)
+Test_Bounded_Long_Sequence::dii_req_invoke (CORBA::Request *req)
{
req->add_in_arg ("s1") <<= this->in_.in ();
req->add_inout_arg ("s2") <<= this->inout_.in ();
@@ -64,19 +63,18 @@ Test_Bounded_Long_Sequence::dii_req_invoke (CORBA::Request *req
this->ret_ = new Param_Test::Bounded_Long_Seq (*tmp);
CORBA::NamedValue_ptr arg2 =
- req->arguments ()->item (1 ACE_ENV_ARG_PARAMETER);
+ req->arguments ()->item (1);
*arg2->value () >>= tmp;
this->inout_ = new Param_Test::Bounded_Long_Seq (*tmp);
CORBA::NamedValue_ptr arg3 =
- req->arguments ()->item (2 ACE_ENV_ARG_PARAMETER);
+ req->arguments ()->item (2);
*arg3->value () >>= tmp;
this->out_ = new Param_Test::Bounded_Long_Seq (*tmp);
}
int
-Test_Bounded_Long_Sequence::init_parameters (Param_Test_ptr
- ACE_ENV_ARG_DECL_NOT_USED)
+Test_Bounded_Long_Sequence::init_parameters (Param_Test_ptr)
{
// get some sequence length (32 in this case)
CORBA::ULong len = this->in_->maximum ();
@@ -113,26 +111,22 @@ Test_Bounded_Long_Sequence::reset_parameters (void)
}
int
-Test_Bounded_Long_Sequence::run_sii_test (Param_Test_ptr objref
- ACE_ENV_ARG_DECL)
+Test_Bounded_Long_Sequence::run_sii_test (Param_Test_ptr objref)
{
- ACE_TRY
+ try
{
Param_Test::Bounded_Long_Seq_out out (this->out_.out ());
this->ret_ = objref->test_bounded_long_sequence (this->in_.in (),
this->inout_.inout (),
- out
- ACE_ENV_ARG_PARAMETER);
+ out);
return 0;
}
- ACE_CATCHANY
+ catch (const CORBA::Exception& ex)
{
- ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION,
- "Test_Bounded_Long_Sequence::run_sii_test\n");
+ ex._tao_print_exception ("Test_Bounded_Long_Sequence::run_sii_test\n");
}
- ACE_ENDTRY;
return -1;
}