diff options
Diffstat (limited to 'TAO/examples/Simple/grid/Grid_i.cpp')
-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 |