Mercurial > hg > orthanc-webviewer
diff 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 |
line wrap: on
line diff
--- a/Plugin/Cache/CacheScheduler.cpp Fri Sep 25 11:29:17 2015 +0200 +++ b/Plugin/Cache/CacheScheduler.cpp Fri Sep 25 12:32:37 2015 +0200 @@ -265,7 +265,8 @@ BundleSchedulers::iterator it = bundles_.find(bundleIndex); if (it == bundles_.end()) { - throw Orthanc::OrthancException("No factory associated with this bundle"); + // No factory associated with this bundle + throw Orthanc::OrthancException(Orthanc::ErrorCode_ParameterOutOfRange); } return *(it->second);