# HG changeset patch # User Sebastien Jodogne # Date 1480097336 -3600 # Node ID cd84f27bc8e2dd957fe19001e51636db6179e077 # Parent 63d0a5c7446084eb681bf837c8aa61833201acba fix diff -r 63d0a5c74460 -r cd84f27bc8e2 Resources/Orthanc/Plugins/Samples/Common/DicomDatasetReader.cpp --- a/Resources/Orthanc/Plugins/Samples/Common/DicomDatasetReader.cpp Fri Nov 25 18:34:17 2016 +0100 +++ b/Resources/Orthanc/Plugins/Samples/Common/DicomDatasetReader.cpp Fri Nov 25 19:08:56 2016 +0100 @@ -73,7 +73,7 @@ { if (dataset == NULL) { - ORTHANC_PLUGINS_THROW_EXCEPTION(OrthancPluginErrorCode_NullPointer); + ORTHANC_PLUGINS_THROW_EXCEPTION(OrthancPluginErrorCode_ParameterOutOfRange); } }