summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/examples/Log/Event/Event_Consumer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/examples/Log/Event/Event_Consumer.cpp')
-rw-r--r--TAO/orbsvcs/examples/Log/Event/Event_Consumer.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/TAO/orbsvcs/examples/Log/Event/Event_Consumer.cpp b/TAO/orbsvcs/examples/Log/Event/Event_Consumer.cpp
index 47d97183f2a..a400a12eb3b 100644
--- a/TAO/orbsvcs/examples/Log/Event/Event_Consumer.cpp
+++ b/TAO/orbsvcs/examples/Log/Event/Event_Consumer.cpp
@@ -31,7 +31,7 @@ Consumer::run (int argc, char* argv[])
{
// ORB initialization boiler plate...
CORBA::ORB_var orb =
- CORBA::ORB_init (argc, argv, "");
+ CORBA::ORB_init (argc, argv);
// Do *NOT* make a copy because we don't want the ORB to outlive
// the Consumer object.
@@ -51,7 +51,7 @@ Consumer::run (int argc, char* argv[])
// Need to check return value for errors.
if (CORBA::is_nil (naming_obj.in ()))
- ACE_THROW_RETURN (CORBA::UNKNOWN (),0);
+ throw CORBA::UNKNOWN ();
this->naming_context_ =
CosNaming::NamingContext::_narrow (naming_obj.in ());
@@ -93,7 +93,6 @@ Consumer::run (int argc, char* argv[])
void
Consumer::push (const CORBA::Any &)
- ACE_THROW_SPEC ((CORBA::SystemException))
{
this->event_count_ ++;
@@ -106,7 +105,6 @@ Consumer::push (const CORBA::Any &)
void
Consumer::disconnect_push_consumer (void)
- ACE_THROW_SPEC ((CORBA::SystemException))
{
// In this example we shutdown the ORB when we disconnect from the
// EC (or rather the EC disconnects from us), but this doesn't have