# HG changeset patch # User Sebastien Jodogne # Date 1579194657 -3600 # Node ID 7e303ba837d9a4f613b854206714c1c35778d79b # Parent 085283445db0d255ca0604b0f1c602bfb13b8a06 NoStorageCommitmentHandler error code diff -r 085283445db0 -r 7e303ba837d9 Core/Enumerations.cpp --- a/Core/Enumerations.cpp Thu Jan 16 15:28:32 2020 +0100 +++ b/Core/Enumerations.cpp Thu Jan 16 18:10:57 2020 +0100 @@ -366,6 +366,9 @@ case ErrorCode_AlreadyExistingTag: return "Cannot override the value of a tag that already exists"; + case ErrorCode_NoStorageCommitmentHandler: + return "No request handler factory for DICOM N-ACTION SCP (storage commitment)"; + case ErrorCode_UnsupportedMediaType: return "Unsupported media type"; diff -r 085283445db0 -r 7e303ba837d9 Core/Enumerations.h --- a/Core/Enumerations.h Thu Jan 16 15:28:32 2020 +0100 +++ b/Core/Enumerations.h Thu Jan 16 18:10:57 2020 +0100 @@ -239,6 +239,7 @@ ErrorCode_CannotOrderSlices = 2040 /*!< Unable to order the slices of the series */, ErrorCode_NoWorklistHandler = 2041 /*!< No request handler factory for DICOM C-Find Modality SCP */, ErrorCode_AlreadyExistingTag = 2042 /*!< Cannot override the value of a tag that already exists */, + ErrorCode_NoStorageCommitmentHandler = 2043 /*!< No request handler factory for DICOM N-ACTION SCP (storage commitment) */, ErrorCode_UnsupportedMediaType = 3000 /*!< Unsupported media type */, ErrorCode_START_PLUGINS = 1000000 }; diff -r 085283445db0 -r 7e303ba837d9 Plugins/Include/orthanc/OrthancCPlugin.h --- a/Plugins/Include/orthanc/OrthancCPlugin.h Thu Jan 16 15:28:32 2020 +0100 +++ b/Plugins/Include/orthanc/OrthancCPlugin.h Thu Jan 16 18:10:57 2020 +0100 @@ -301,6 +301,7 @@ OrthancPluginErrorCode_CannotOrderSlices = 2040 /*!< Unable to order the slices of the series */, OrthancPluginErrorCode_NoWorklistHandler = 2041 /*!< No request handler factory for DICOM C-Find Modality SCP */, OrthancPluginErrorCode_AlreadyExistingTag = 2042 /*!< Cannot override the value of a tag that already exists */, + OrthancPluginErrorCode_NoStorageCommitmentHandler = 2043 /*!< No request handler factory for DICOM N-ACTION SCP (storage commitment) */, OrthancPluginErrorCode_UnsupportedMediaType = 3000 /*!< Unsupported media type */, _OrthancPluginErrorCode_INTERNAL = 0x7fffffff diff -r 085283445db0 -r 7e303ba837d9 Resources/ErrorCodes.json --- a/Resources/ErrorCodes.json Thu Jan 16 15:28:32 2020 +0100 +++ b/Resources/ErrorCodes.json Thu Jan 16 18:10:57 2020 +0100 @@ -547,6 +547,11 @@ "Name": "AlreadyExistingTag", "Description": "Cannot override the value of a tag that already exists" }, + { + "Code": 2043, + "Name": "NoStorageCommitmentHandler", + "Description": "No request handler factory for DICOM N-ACTION SCP (storage commitment)" + },