diff options
author | bala <balanatarajan@users.noreply.github.com> | 1999-07-09 17:58:40 +0000 |
---|---|---|
committer | bala <balanatarajan@users.noreply.github.com> | 1999-07-09 17:58:40 +0000 |
commit | 22e9e31aaecaffb25f5db9c08c967bfcf37261e8 (patch) | |
tree | 5ae1dca93ef11e566f772ccaab120722f679cd35 /TAO | |
parent | b02160a4e437644a40d55b88e0e1fb22c8b66c8f (diff) | |
download | ATCD-22e9e31aaecaffb25f5db9c08c967bfcf37261e8.tar.gz |
Fixed a warning on HP_UX
Diffstat (limited to 'TAO')
-rw-r--r-- | TAO/examples/Simple/grid/Grid_i.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/TAO/examples/Simple/grid/Grid_i.cpp b/TAO/examples/Simple/grid/Grid_i.cpp index e4baa90e810..1a4e4cc157d 100644 --- a/TAO/examples/Simple/grid/Grid_i.cpp +++ b/TAO/examples/Simple/grid/Grid_i.cpp @@ -52,7 +52,8 @@ Grid_i::set (CORBA::Short x, CORBA::Short y, CORBA::Long value, CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException)) + ACE_THROW_SPEC ((CORBA::SystemException, + Grid::RANGE_ERROR)) { if (x < 0 || y < 0 @@ -69,7 +70,8 @@ CORBA::Long Grid_i::get (CORBA::Short x, CORBA::Short y, CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException)) + ACE_THROW_SPEC ((CORBA::SystemException, + Grid::RANGE_ERROR)) { if (x < 0 || y < 0 |