From d45ae76c635601a1a78a799a7b326a45991f15b6 Mon Sep 17 00:00:00 2001 From: edwardgt Date: Sat, 18 Oct 2003 20:15:18 +0000 Subject: ChangeLogTag: Sat Oct 18 15:14:38 2003 George Edwards --- TAO/ChangeLog | 7 +++++++ TAO/tests/OBV/Supports/Supports_Test_impl.cpp | 10 ++++------ 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 + + * 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 * 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); }; -- cgit v1.2.1