summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/orbsvcs/IFRService/IFR_Service_Loader.cpp
diff options
context:
space:
mode:
authorsmcqueen <smcqueen@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2006-11-22 11:58:06 +0000
committersmcqueen <smcqueen@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2006-11-22 11:58:06 +0000
commitf94cf8849752eb93cbee88f72107433a6976893a (patch)
tree7a60bca1cab3c28c833d0f9bfb761604b5879cc3 /TAO/orbsvcs/orbsvcs/IFRService/IFR_Service_Loader.cpp
parent342f46fc8899390a257d6e8538b952f22426eda1 (diff)
downloadATCD-f94cf8849752eb93cbee88f72107433a6976893a.tar.gz
ChangeLogTag: Wed Nov 22 11:51:49 UTC 2006 Simon McQueen <sm@prismtech.com>
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/IFRService/IFR_Service_Loader.cpp')
-rw-r--r--TAO/orbsvcs/orbsvcs/IFRService/IFR_Service_Loader.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/TAO/orbsvcs/orbsvcs/IFRService/IFR_Service_Loader.cpp b/TAO/orbsvcs/orbsvcs/IFRService/IFR_Service_Loader.cpp
index a5e914dcf87..8e2454e62b6 100644
--- a/TAO/orbsvcs/orbsvcs/IFRService/IFR_Service_Loader.cpp
+++ b/TAO/orbsvcs/orbsvcs/IFRService/IFR_Service_Loader.cpp
@@ -87,12 +87,12 @@ TAO_IFR_Service_Loader::create_object (CORBA::ORB_ptr orb,
result = this->ifr_server_.init_with_orb (argc,
argv,
orb);
- if (result == -1)
+ if (result != 0)
{
- return CORBA::Object::_nil ();
+ throw new CORBA::BAD_PARAM;
}
- return 0;
+ return CORBA::Object::_nil ();
}
TAO_END_VERSIONED_NAMESPACE_DECL