changeset 2236:55843d0139d3

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 16 Dec 2016 14:36:27 +0100
parents 99d151fafab9
children 403d92d8df83
files Plugins/Samples/ModalityWorklists/Plugin.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Plugins/Samples/ModalityWorklists/Plugin.cpp	Fri Dec 16 14:35:52 2016 +0100
+++ b/Plugins/Samples/ModalityWorklists/Plugin.cpp	Fri Dec 16 14:36:27 2016 +0100
@@ -101,7 +101,7 @@
         v.size() != 1 ||
         v[0].type() != Json::objectValue)
     {
-      ORTHANC_PLUGINS_THROW_EXCEPTION(OrthancPluginErrorCode_BadFileFormat);
+      ORTHANC_PLUGINS_THROW_EXCEPTION(BadFileFormat);
     }
 
     // Set the ScheduledStationAETitle if none was provided