summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/orbsvcs/Trader/Trader_Interfaces.cpp
diff options
context:
space:
mode:
authornanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-04-29 08:01:00 +0000
committernanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-04-29 08:01:00 +0000
commit2236c74b12dfc3c1fc33aa5f57e966ce66e1b9c7 (patch)
treeb96ba153f0f934aa2ae75eebdf9f5c5631073509 /TAO/orbsvcs/orbsvcs/Trader/Trader_Interfaces.cpp
parentdebc5418dc87633eac9457a056af7276d962fc6c (diff)
downloadATCD-2236c74b12dfc3c1fc33aa5f57e966ce66e1b9c7.tar.gz
Removed argument from system exceptions' instantiations if they match the default arguments.
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/Trader/Trader_Interfaces.cpp')
-rw-r--r--TAO/orbsvcs/orbsvcs/Trader/Trader_Interfaces.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/TAO/orbsvcs/orbsvcs/Trader/Trader_Interfaces.cpp b/TAO/orbsvcs/orbsvcs/Trader/Trader_Interfaces.cpp
index fb9837c4960..9deb1742e94 100644
--- a/TAO/orbsvcs/orbsvcs/Trader/Trader_Interfaces.cpp
+++ b/TAO/orbsvcs/orbsvcs/Trader/Trader_Interfaces.cpp
@@ -845,7 +845,7 @@ seen_request_id (TAO_Policies& policies,
}
if (seq == 0)
- TAO_THROW_RETURN (CORBA::NO_MEMORY (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_NO), 1);
+ TAO_THROW_RETURN (CORBA::NO_MEMORY (), 1);
ACE_GUARD_RETURN (TRADER_LOCK_TYPE, trader_mon, this->lock_, 1);
for (Request_Ids::ITERATOR riter (this->request_ids_);
@@ -1831,7 +1831,7 @@ export_proxy (CosTrading::Lookup_ptr target,
CosTrading::DuplicatePropertyName,
CosTrading::DuplicatePolicyName))
{
- TAO_THROW_RETURN (CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_NO), 0);
+ TAO_THROW_RETURN (CORBA::UNKNOWN (), 0);
}
template <class TRADER_LOCK_TYPE, class MAP_LOCK_TYPE>
@@ -1844,7 +1844,7 @@ withdraw_proxy (const char *id,
CosTrading::UnknownOfferId,
CosTrading::Proxy::NotProxyOfferId))
{
- TAO_THROW (CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_NO));
+ TAO_THROW (CORBA::UNKNOWN ());
}
template <class TRADER_LOCK_TYPE, class MAP_LOCK_TYPE>
@@ -1857,7 +1857,7 @@ describe_proxy (const char *id,
CosTrading::UnknownOfferId,
CosTrading::Proxy::NotProxyOfferId))
{
- TAO_THROW_RETURN (CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_NO), 0);
+ TAO_THROW_RETURN (CORBA::UNKNOWN (), 0);
}
template <class TRADER_LOCK_TYPE, class MAP_LOCK_TYPE>
@@ -1870,7 +1870,7 @@ list_proxies (CORBA::ULong how_many,
TAO_THROW_SPEC ((CORBA::SystemException,
CosTrading::NotImplemented))
{
- TAO_THROW (CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_NO));
+ TAO_THROW (CORBA::UNKNOWN ());
}
#endif /* TAO_TRADER_INTERFACES_C */