diff Plugins/Samples/Common/IOrthancConnection.cpp @ 2237:403d92d8df83

cont
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 16 Dec 2016 14:45:40 +0100
parents 1d0838b8e9c5
children a3a65de1840f
line wrap: on
line diff
--- a/Plugins/Samples/Common/IOrthancConnection.cpp	Fri Dec 16 14:36:27 2016 +0100
+++ b/Plugins/Samples/Common/IOrthancConnection.cpp	Fri Dec 16 14:45:40 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);
     }
   }