summaryrefslogtreecommitdiff
path: root/TAO/tests/Bug_1676_Regression
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2007-02-12 11:52:38 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2007-02-12 11:52:38 +0000
commit4a94bf9e8e96ce495aedaf6ef0829e42a4489742 (patch)
treeb1209abef436be321023aa6100646e884be3ada9 /TAO/tests/Bug_1676_Regression
parent1a4c23d60cf23b6e97877d6ecf77142e95e7b1fc (diff)
downloadATCD-4a94bf9e8e96ce495aedaf6ef0829e42a4489742.tar.gz
Mon Feb 12 11:40:14 UTC 2007 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'TAO/tests/Bug_1676_Regression')
-rw-r--r--TAO/tests/Bug_1676_Regression/Bug_1676_Regression.mpc1
-rw-r--r--TAO/tests/Bug_1676_Regression/Hello.cpp11
-rw-r--r--TAO/tests/Bug_1676_Regression/Hello.h18
3 files changed, 4 insertions, 26 deletions
diff --git a/TAO/tests/Bug_1676_Regression/Bug_1676_Regression.mpc b/TAO/tests/Bug_1676_Regression/Bug_1676_Regression.mpc
index a2357ad295c..e2fbcdc3d00 100644
--- a/TAO/tests/Bug_1676_Regression/Bug_1676_Regression.mpc
+++ b/TAO/tests/Bug_1676_Regression/Bug_1676_Regression.mpc
@@ -22,7 +22,6 @@ project(*Server): taoserver {
project(*Client): taoclient {
after += *idl
- after += *Server
Source_Files {
TestC.cpp
client.cpp
diff --git a/TAO/tests/Bug_1676_Regression/Hello.cpp b/TAO/tests/Bug_1676_Regression/Hello.cpp
index 6e120fe9bbd..07dfbcf6ac6 100644
--- a/TAO/tests/Bug_1676_Regression/Hello.cpp
+++ b/TAO/tests/Bug_1676_Regression/Hello.cpp
@@ -13,7 +13,6 @@ Hello::Hello (CORBA::ORB_ptr orb)
#if 0
char *
Hello::get_string (void)
- ACE_THROW_SPEC ((CORBA::SystemException))
{
return CORBA::string_dup ("Hello there!");
}
@@ -23,9 +22,6 @@ Hello::get_string (void)
Hello::get_stringList (
//
)
- ACE_THROW_SPEC ((
- ::CORBA::SystemException
- ))
{
Test::StringList * seq;
ACE_NEW_RETURN (seq,
@@ -47,9 +43,6 @@ Hello::get_stringList2 (
::CORBA::Boolean initialize,
::Test::StringList_out osl
)
- ACE_THROW_SPEC ((
- ::CORBA::SystemException
- ))
{
// CORBA::String_var the_string = osl->length();
// ACE_DEBUG ((LM_DEBUG, "(%P|%t) - Entering get_stringList2(%.4d)\n", osl));
@@ -72,9 +65,6 @@ void
Hello::mod_stringList (
::Test::StringList & iosl
)
- ACE_THROW_SPEC ((
- ::CORBA::SystemException
- ))
{
// osl->length(10);
for (CORBA::ULong i = 0; i<iosl.length(); i++)
@@ -89,7 +79,6 @@ Hello::mod_stringList (
void
Hello::shutdown (void)
- ACE_THROW_SPEC ((CORBA::SystemException))
{
this->orb_->shutdown (0);
}
diff --git a/TAO/tests/Bug_1676_Regression/Hello.h b/TAO/tests/Bug_1676_Regression/Hello.h
index dc3314a876c..6c20db104e5 100644
--- a/TAO/tests/Bug_1676_Regression/Hello.h
+++ b/TAO/tests/Bug_1676_Regression/Hello.h
@@ -18,28 +18,18 @@ public:
// = The skeleton methods
virtual ::Test::StringList * get_stringList (
- )
- ACE_THROW_SPEC ((
- ::CORBA::SystemException
- ));
+ );
virtual void get_stringList2 (
::CORBA::Boolean initialize,
::Test::StringList_out osl
- )
- ACE_THROW_SPEC ((
- ::CORBA::SystemException
- ));
+ );
virtual void mod_stringList (
::Test::StringList & iosl
- )
- ACE_THROW_SPEC ((
- ::CORBA::SystemException
- ));
+ );
- virtual void shutdown (void)
- ACE_THROW_SPEC ((CORBA::SystemException));
+ virtual void shutdown (void);
private:
/// Use an ORB reference to convert strings to objects and shutdown