diff Resources/Orthanc/Plugins/Samples/Common/OrthancPluginCppWrapper.h @ 88:7dffa59c498d

sync
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 16 Dec 2016 17:02:32 +0100
parents 319b8c45c231
children ff0ef01c332c
line wrap: on
line diff
--- a/Resources/Orthanc/Plugins/Samples/Common/OrthancPluginCppWrapper.h	Fri Dec 16 16:44:14 2016 +0100
+++ b/Resources/Orthanc/Plugins/Samples/Common/OrthancPluginCppWrapper.h	Fri Dec 16 17:02:32 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());
       }