changeset 2182:085a41c66133

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 25 Nov 2016 19:08:10 +0100
parents 761dfdabe437
children 1d0838b8e9c5
files Plugins/Samples/Common/DicomDatasetReader.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Plugins/Samples/Common/DicomDatasetReader.cpp	Fri Nov 25 17:08:42 2016 +0100
+++ b/Plugins/Samples/Common/DicomDatasetReader.cpp	Fri Nov 25 19:08:10 2016 +0100
@@ -73,7 +73,7 @@
   {
     if (dataset == NULL)
     {
-      ORTHANC_PLUGINS_THROW_EXCEPTION(OrthancPluginErrorCode_NullPointer);
+      ORTHANC_PLUGINS_THROW_EXCEPTION(OrthancPluginErrorCode_ParameterOutOfRange);
     }
   }