summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorthrall <thrall@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-04-11 20:28:10 +0000
committerthrall <thrall@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-04-11 20:28:10 +0000
commit2c8328c0169301d7d47d3853b2227bc26d5497b6 (patch)
treeca17ba0b5fe121e9f5d19da0092cddb1911d9275
parent727491b62b36e69dd5bec46d2454fb772a2dfee7 (diff)
downloadATCD-2c8328c0169301d7d47d3853b2227bc26d5497b6.tar.gz
Fixed ACE_THROW_RETURN ( to ACE_THROW) in get_config_infos
-rw-r--r--TAO/orbsvcs/orbsvcs/Runtime_Scheduler.cpp10
1 files changed, 4 insertions, 6 deletions
diff --git a/TAO/orbsvcs/orbsvcs/Runtime_Scheduler.cpp b/TAO/orbsvcs/orbsvcs/Runtime_Scheduler.cpp
index f1cf3ca6cd0..4c2e44e8476 100644
--- a/TAO/orbsvcs/orbsvcs/Runtime_Scheduler.cpp
+++ b/TAO/orbsvcs/orbsvcs/Runtime_Scheduler.cpp
@@ -291,7 +291,7 @@ ACE_Runtime_Scheduler::last_scheduled_priority (ACE_ENV_SINGLE_ARG_DECL)
// throw an exception if a valid schedule has not been loaded
if (config_count_ <= 0)
ACE_THROW_RETURN (RtecScheduler::NOT_SCHEDULED(),
- (RtecScheduler::Preemption_Priority_t) -1);
+ (RtecScheduler::Preemption_Priority_t) -1);
else
return (RtecScheduler::Preemption_Priority_t) (config_count_ - 1);
}
@@ -299,16 +299,14 @@ ACE_Runtime_Scheduler::last_scheduled_priority (ACE_ENV_SINGLE_ARG_DECL)
void
ACE_Runtime_Scheduler::get_config_infos (RtecScheduler::Config_Info_Set_out configs
- ACE_ENV_ARG_DECL_WITH_DEFAULTS)
+ ACE_ENV_ARG_DECL_WITH_DEFAULTS)
ACE_THROW_SPEC ((CORBA::SystemException,
- RtecScheduler::NOT_SCHEDULED))
+ RtecScheduler::NOT_SCHEDULED))
{
// throw an exception if a valid schedule has not been loaded
if (config_count_ <= 0)
- ACE_THROW_RETURN (RtecScheduler::NOT_SCHEDULED(),
- (RtecScheduler::Preemption_Priority_t) -1);
+ ACE_THROW (RtecScheduler::NOT_SCHEDULED());
//TODO: fill the Config_Info_Set with the runtime Config_Infos
//for now, this function is unimplemented
return;
}
-