summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/orbsvcs/Time/TAO_TIO.cpp
diff options
context:
space:
mode:
authorelliott_c <elliott_c@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2007-01-25 18:04:11 +0000
committerelliott_c <elliott_c@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2007-01-25 18:04:11 +0000
commitc979767a00db4ea1299af482033a68829cc16675 (patch)
tree3e959cad0a053f1adad663e7c02bc7a239f383d8 /TAO/orbsvcs/orbsvcs/Time/TAO_TIO.cpp
parent0f3847bc7fd735ab88276fee59e2ebd6cb8d1f99 (diff)
downloadATCD-c979767a00db4ea1299af482033a68829cc16675.tar.gz
ChangeLogTag: Thu Jan 25 17:39:59 UTC 2007 Chad Elliott <elliott_c@ociweb.com>
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/Time/TAO_TIO.cpp')
-rw-r--r--TAO/orbsvcs/orbsvcs/Time/TAO_TIO.cpp13
1 files changed, 5 insertions, 8 deletions
diff --git a/TAO/orbsvcs/orbsvcs/Time/TAO_TIO.cpp b/TAO/orbsvcs/orbsvcs/Time/TAO_TIO.cpp
index 1d842a19e35..9df87c4087f 100644
--- a/TAO/orbsvcs/orbsvcs/Time/TAO_TIO.cpp
+++ b/TAO/orbsvcs/orbsvcs/Time/TAO_TIO.cpp
@@ -34,13 +34,12 @@ TAO_TIO::time_interval (void)
CosTime::OverlapType
TAO_TIO::spans (CosTime::UTO_ptr uto,
- CosTime::TIO_out overlap
- ACE_ENV_ARG_DECL)
+ CosTime::TIO_out overlap)
ACE_THROW_SPEC ((CORBA::SystemException))
{
TAO_TIO *tio = 0;
- ACE_TRY
+ try
{
TimeBase::TimeT lb1 =
this->time_interval ().lower_bound;
@@ -132,11 +131,10 @@ TAO_TIO::spans (CosTime::UTO_ptr uto,
overlap = tio->_this ();
}
}
- ACE_CATCHANY
+ catch (const CORBA::Exception& ex)
{
- ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, "Exception:");
+ ex._tao_print_exception ("Exception:");
}
- ACE_ENDTRY;
return CosTime::OTNoOverlap;
}
@@ -149,8 +147,7 @@ TAO_TIO::spans (CosTime::UTO_ptr uto,
CosTime::OverlapType
TAO_TIO::overlaps (CosTime::TIO_ptr tio,
- CosTime::TIO_out overlap
- ACE_ENV_ARG_DECL)
+ CosTime::TIO_out overlap)
ACE_THROW_SPEC ((CORBA::SystemException))
{
TAO_TIO *tio_i = 0;