Mercurial > hg > orthanc
changeset 6956:cd1a8195a03c
fix
| author | Alain Mazy <am@orthanc.team> |
|---|---|
| date | Wed, 17 Jun 2026 18:06:41 +0200 |
| parents | 9832a716c687 |
| children | 17dba3e3c7e4 004b351797fe |
| files | OrthancServer/Plugins/Samples/Common/OrthancPluginException.h |
| diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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<ORTHANC_PLUGINS_ERROR_ENUMERATION>(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));
