diff Plugins/Samples/Common/OrthancPluginCppWrapper.h @ 2239:15637de71fee

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 16 Dec 2016 17:01:33 +0100
parents a78d15509a1c
children a3a65de1840f
line wrap: on
line diff
--- a/Plugins/Samples/Common/OrthancPluginCppWrapper.h	Fri Dec 16 16:22:38 2016 +0100
+++ b/Plugins/Samples/Common/OrthancPluginCppWrapper.h	Fri Dec 16 17:01:33 2016 +0100
@@ -447,7 +447,7 @@
         Callback(output, url, request);
         return OrthancPluginErrorCode_Success;
       }
-      catch (ORTHANC_PLUGINS_GET_EXCEPTION_CLASS& e)
+      catch (ORTHANC_PLUGINS_EXCEPTION_CLASS& e)
       {
         return static_cast<OrthancPluginErrorCode>(e.GetErrorCode());
       }