diff Sources/Autogenerated/sdk_OrthancPluginDicomInstance.impl.h @ 77:e7ff5efb100d

Custom exception "orthanc.OrthancException" is raised instead of "ValueError"
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 09 Aug 2021 18:16:42 +0200
parents cbfc72a53970
children eb6ac5a801d1
line wrap: on
line diff
--- a/Sources/Autogenerated/sdk_OrthancPluginDicomInstance.impl.h	Mon Aug 09 17:00:53 2021 +0200
+++ b/Sources/Autogenerated/sdk_OrthancPluginDicomInstance.impl.h	Mon Aug 09 18:16:42 2021 +0200
@@ -412,7 +412,7 @@
   }
   else
   {
-    PythonLock::RaiseException(OrthancPluginErrorCode_InternalError);
+    PythonLock::RaiseException(code);
     return NULL;  
   }
 }
@@ -473,7 +473,7 @@
   }
   else
   {
-    PythonLock::RaiseException(OrthancPluginErrorCode_InternalError);
+    PythonLock::RaiseException(code);
     return NULL;  
   }
 }