# HG changeset patch # User Alain Mazy # Date 1781712401 -7200 # Node ID cd1a8195a03c7c449e4db06f37c83001eebb907f # Parent 9832a716c6870ac1f1bf565687ac58b56558a6f7 fix diff -r 9832a716c687 -r cd1a8195a03c OrthancServer/Plugins/Samples/Common/OrthancPluginException.h --- a/OrthancServer/Plugins/Samples/Common/OrthancPluginException.h Wed Jun 17 16:28:24 2026 +0200 +++ b/OrthancServer/Plugins/Samples/Common/OrthancPluginException.h Wed Jun 17 18:06:41 2026 +0200 @@ -58,6 +58,8 @@ # define ORTHANC_PLUGINS_THROW_PLUGIN_ERROR_CODE(code) \ throw ORTHANC_PLUGINS_EXCEPTION_CLASS(static_cast(code)); +# define PLUGIN_THROW_WITH_FILE_AND_LINE_INFO(errorCode) \ + ORTHANC_PLUGINS_THROW_PLUGIN_ERROR_CODE(errorCode) # define ORTHANC_PLUGINS_THROW_EXCEPTION(code) \ throw ORTHANC_PLUGINS_EXCEPTION_CLASS(ORTHANC_PLUGINS_GET_ERROR_CODE(code));