summaryrefslogtreecommitdiff
path: root/TAO/tests/Client_Leaks/Process_Factory.cpp
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2007-02-02 16:22:17 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2007-02-02 16:22:17 +0000
commit6a6073d92af10c8d9ef7a8157fc3330bf75ad5b5 (patch)
tree6246617821b6e0943900008eeaa1d767c2ea7dcb /TAO/tests/Client_Leaks/Process_Factory.cpp
parentfe2c97f8c7465fdafebe7a2db55bc720f9a009b2 (diff)
downloadATCD-6a6073d92af10c8d9ef7a8157fc3330bf75ad5b5.tar.gz
Fri Feb 2 16:16:14 2007 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'TAO/tests/Client_Leaks/Process_Factory.cpp')
-rw-r--r--TAO/tests/Client_Leaks/Process_Factory.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/TAO/tests/Client_Leaks/Process_Factory.cpp b/TAO/tests/Client_Leaks/Process_Factory.cpp
index e4ab9cf4544..5ede5f6bae5 100644
--- a/TAO/tests/Client_Leaks/Process_Factory.cpp
+++ b/TAO/tests/Client_Leaks/Process_Factory.cpp
@@ -57,7 +57,7 @@ Process_Factory::create_new_process (void)
"(%P|%t) Process_Factory::create_new_process, "
" spawn call failed (%d)\n",
errno));
- ACE_THROW_RETURN (Test::Spawn_Failed (), Test::Process::_nil ());
+ throw Test::Spawn_Failed ();
}
int process_has_started = 0;
@@ -89,7 +89,7 @@ Process_Factory::create_new_process (void)
"(%P|%t) Process_Factory::create_new_process, "
" timeout while waiting for child\n"));
(void) child_process.terminate ();
- ACE_THROW_RETURN (Test::Spawn_Failed (), Test::Process::_nil ());
+ throw Test::Spawn_Failed ();
}
return the_process._retn ();