diff Resources/Orthanc/Plugins/Samples/Common/IOrthancConnection.cpp @ 86:319b8c45c231

sync
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 16 Dec 2016 14:55:19 +0100
parents d529d9ce3c7e
children ff0ef01c332c
line wrap: on
line diff
--- a/Resources/Orthanc/Plugins/Samples/Common/IOrthancConnection.cpp	Thu Dec 15 15:37:40 2016 +0100
+++ b/Resources/Orthanc/Plugins/Samples/Common/IOrthancConnection.cpp	Fri Dec 16 14:55:19 2016 +0100
@@ -32,7 +32,7 @@
 
 #include "IOrthancConnection.h"
 
-#include "OrthancPluginCppWrapper.h"
+#include "OrthancPluginException.h"
 
 #include <json/reader.h>
 
@@ -45,7 +45,7 @@
     
     if (!reader.parse(content, result))
     {
-      ORTHANC_PLUGINS_THROW_EXCEPTION(OrthancPluginErrorCode_BadFileFormat);
+      ORTHANC_PLUGINS_THROW_EXCEPTION(BadFileFormat);
     }
   }