diff options
author | edwardgt <edwardgt@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2003-10-18 20:15:18 +0000 |
---|---|---|
committer | edwardgt <edwardgt@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2003-10-18 20:15:18 +0000 |
commit | d45ae76c635601a1a78a799a7b326a45991f15b6 (patch) | |
tree | b9ddc034a6b295ab22861d72a3909ee046d7ead0 | |
parent | 407ee66254d7b112556215a1b743fe895d6541d7 (diff) | |
download | ATCD-d45ae76c635601a1a78a799a7b326a45991f15b6.tar.gz |
ChangeLogTag: Sat Oct 18 15:14:38 2003 George Edwards <g.edwards@vanderbilt.edu>
-rw-r--r-- | TAO/ChangeLog | 7 | ||||
-rw-r--r-- | TAO/tests/OBV/Supports/Supports_Test_impl.cpp | 10 | ||||
-rw-r--r-- | TAO/tests/OBV/Supports/Supports_Test_impl.h | 10 |
3 files changed, 15 insertions, 12 deletions
diff --git a/TAO/ChangeLog b/TAO/ChangeLog index a14e39f4270..214bfbbda2d 100644 --- a/TAO/ChangeLog +++ b/TAO/ChangeLog @@ -1,3 +1,10 @@ +Mon Oct 13 12:51:38 2003 George Edwards <g.edwards@vanderbilt.edu> + + * tests/OBV/Supports/Supports_Test_impl.h: + * tests/OBV/Supports/Supports_Test_impl.cpp: + + Modified factory methods to handle exceptions. + Sat Oct 18 12:36:22 2003 Venkita Subramonian <venkita@cs.wustl.edu> * orbsvcs/orbsvcs/RTCosScheduling/RTCosScheduling_ClientScheduler_i.cpp: diff --git a/TAO/tests/OBV/Supports/Supports_Test_impl.cpp b/TAO/tests/OBV/Supports/Supports_Test_impl.cpp index 83db36a5b70..08263a995cf 100644 --- a/TAO/tests/OBV/Supports/Supports_Test_impl.cpp +++ b/TAO/tests/OBV/Supports/Supports_Test_impl.cpp @@ -59,7 +59,7 @@ vt_graph_impl::print (ACE_ENV_SINGLE_ARG_DECL) /* vt_graph_init_impl - factory operations */ Supports_Test::vt_graph * -vt_graph_init_impl::create (ACE_ENV_SINGLE_ARG_DECL) +vt_graph_init_impl::create (void) ACE_THROW_SPEC ((CORBA::SystemException)) { vt_graph_impl * ret_val = 0; @@ -68,8 +68,7 @@ vt_graph_init_impl::create (ACE_ENV_SINGLE_ARG_DECL) } CORBA::ValueBase * -vt_graph_init_impl::create_for_unmarshal (ACE_ENV_SINGLE_ARG_DECL) - ACE_THROW_SPEC ((CORBA::SystemException)) +vt_graph_init_impl::create_for_unmarshal (void) { vt_graph_impl * ret_val = 0; ACE_NEW_RETURN (ret_val, vt_graph_impl, 0); @@ -256,7 +255,7 @@ node_impl::print (ACE_ENV_SINGLE_ARG_DECL) /* node_init_impl - factory operations */ Supports_Test::Node * -node_init_impl::create (ACE_ENV_SINGLE_ARG_DECL) +node_init_impl::create (void) ACE_THROW_SPEC ((CORBA::SystemException)) { node_impl * ret_val = 0; @@ -265,8 +264,7 @@ node_init_impl::create (ACE_ENV_SINGLE_ARG_DECL) } CORBA::ValueBase * -node_init_impl::create_for_unmarshal (ACE_ENV_SINGLE_ARG_DECL) - ACE_THROW_SPEC ((CORBA::SystemException)) +node_init_impl::create_for_unmarshal (void) { node_impl * ret_val = 0; ACE_NEW_RETURN (ret_val, node_impl, 0); diff --git a/TAO/tests/OBV/Supports/Supports_Test_impl.h b/TAO/tests/OBV/Supports/Supports_Test_impl.h index 05be337e668..4c7b1ede1ce 100644 --- a/TAO/tests/OBV/Supports/Supports_Test_impl.h +++ b/TAO/tests/OBV/Supports/Supports_Test_impl.h @@ -43,11 +43,10 @@ class node_init_impl : public Supports_Test::Node_init public: - virtual Supports_Test::Node * create (ACE_ENV_SINGLE_ARG_DECL) + virtual Supports_Test::Node * create (void) ACE_THROW_SPEC ((CORBA::SystemException)); - virtual CORBA::ValueBase * create_for_unmarshal (ACE_ENV_SINGLE_ARG_DECL) - ACE_THROW_SPEC ((CORBA::SystemException)); + virtual CORBA::ValueBase * create_for_unmarshal (void); }; @@ -83,11 +82,10 @@ class vt_graph_init_impl : public: - virtual Supports_Test::vt_graph * create (ACE_ENV_SINGLE_ARG_DECL) + virtual Supports_Test::vt_graph * create (void) ACE_THROW_SPEC ((CORBA::SystemException)); - virtual CORBA::ValueBase * create_for_unmarshal (ACE_ENV_SINGLE_ARG_DECL) - ACE_THROW_SPEC ((CORBA::SystemException)); + virtual CORBA::ValueBase * create_for_unmarshal (void); }; |