comparison Plugin/Cache/CacheScheduler.cpp @ 79:abdde1dfb3eb

use sdk 0.9.4
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 25 Sep 2015 12:32:37 +0200
parents a6492d20b2a8
children a6ba21a083e5
comparison
equal deleted inserted replaced
78:d6da56f86e5a 79:abdde1dfb3eb
263 boost::mutex::scoped_lock lock(factoryMutex_); 263 boost::mutex::scoped_lock lock(factoryMutex_);
264 264
265 BundleSchedulers::iterator it = bundles_.find(bundleIndex); 265 BundleSchedulers::iterator it = bundles_.find(bundleIndex);
266 if (it == bundles_.end()) 266 if (it == bundles_.end())
267 { 267 {
268 throw Orthanc::OrthancException("No factory associated with this bundle"); 268 // No factory associated with this bundle
269 throw Orthanc::OrthancException(Orthanc::ErrorCode_ParameterOutOfRange);
269 } 270 }
270 271
271 return *(it->second); 272 return *(it->second);
272 } 273 }
273 274