summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--TAO/examples/Simple/grid/Grid_i.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/TAO/examples/Simple/grid/Grid_i.h b/TAO/examples/Simple/grid/Grid_i.h
index 96d5bdf6e2e..c359ce13751 100644
--- a/TAO/examples/Simple/grid/Grid_i.h
+++ b/TAO/examples/Simple/grid/Grid_i.h
@@ -70,11 +70,13 @@ public:
virtual CORBA::Long get (CORBA::Short,
CORBA::Short,
CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException));
+ ACE_THROW_SPEC ((CORBA::SystemException,
+ Grid::RANGE_ERROR));
// Gets the grid value.
virtual void destroy (CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException));
+ ACE_THROW_SPEC ((CORBA::SystemException,
+ Grid::RANGE_ERROR));
// Destroy the grid.
private: