# HG changeset patch # User Sebastien Jodogne # Date 1481895387 -3600 # Node ID 55843d0139d3a27d48e8e3039d8895e416b86ec3 # Parent 99d151fafab95ddd031250b72b144fde9d1c547c fix diff -r 99d151fafab9 -r 55843d0139d3 Plugins/Samples/ModalityWorklists/Plugin.cpp --- 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