changeset 6936:610bde3b8311

fix build
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 05 Jun 2026 18:09:41 +0200
parents 987befd8303d
children 093efd260e36
files OrthancFramework/Sources/DicomParsing/ToDcmtkBridge.cpp
diffstat 1 files changed, 7 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/OrthancFramework/Sources/DicomParsing/ToDcmtkBridge.cpp	Fri Jun 05 18:05:46 2026 +0200
+++ b/OrthancFramework/Sources/DicomParsing/ToDcmtkBridge.cpp	Fri Jun 05 18:09:41 2026 +0200
@@ -79,7 +79,7 @@
  #if DCMTK_VERSION_NUMBER >= 361
         return EVR_OD;
 #else
-        throw OrthancException(ErrorCode_NotSupported, "OD value representation is not supported, as using DCMTK <= 3.6.0");
+        throw OrthancException(ErrorCode_NotImplemented, "OD value representation is not supported, as using DCMTK <= 3.6.0");
 #endif
 
       case ValueRepresentation_OtherFloat:
@@ -90,7 +90,7 @@
         return EVR_OL;
 #else
         // Even though EVR_OL was introduced in DCMTK 3.6.1, its implementation was broken
-        throw OrthancException(ErrorCode_NotSupported, "OL value representation is not supported, as using DCMTK <= 3.6.1");
+        throw OrthancException(ErrorCode_NotImplemented, "OL value representation is not supported, as using DCMTK <= 3.6.1");
 #endif
 
       case ValueRepresentation_OtherWord:
@@ -121,7 +121,7 @@
 #if DCMTK_VERSION_NUMBER >= 361
         return EVR_UC;
 #else
-        throw OrthancException(ErrorCode_NotSupported, "UC value representation is not supported, as using DCMTK <= 3.6.0");
+        throw OrthancException(ErrorCode_NotImplemented, "UC value representation is not supported, as using DCMTK <= 3.6.0");
 #endif
 
       case ValueRepresentation_UniqueIdentifier:
@@ -137,7 +137,7 @@
 #if DCMTK_VERSION_NUMBER >= 361
         return EVR_UR;
 #else
-        throw OrthancException(ErrorCode_NotSupported, "UR value representation is not supported, as using DCMTK <= 3.6.0");
+        throw OrthancException(ErrorCode_NotImplemented, "UR value representation is not supported, as using DCMTK <= 3.6.0");
 #endif
 
       case ValueRepresentation_UnsignedShort:
@@ -150,21 +150,21 @@
 #if DCMTK_VERSION_NUMBER >= 365
         return EVR_OV;
 #else
-        throw OrthancException(ErrorCode_NotSupported, "OV value representation is not supported, as using DCMTK <= 3.6.4");
+        throw OrthancException(ErrorCode_NotImplemented, "OV value representation is not supported, as using DCMTK <= 3.6.4");
 #endif
 
       case ValueRepresentation_SignedVeryLong:
 #if DCMTK_VERSION_NUMBER >= 365
         return EVR_SV;
 #else
-        throw OrthancException(ErrorCode_NotSupported, "SV value representation is not supported, as using DCMTK <= 3.6.4");
+        throw OrthancException(ErrorCode_NotImplemented, "SV value representation is not supported, as using DCMTK <= 3.6.4");
 #endif
 
       case ValueRepresentation_UnsignedVeryLong:
 #if DCMTK_VERSION_NUMBER >= 365
         return EVR_UV;
 #else
-        throw OrthancException(ErrorCode_NotSupported, "UV value representation is not supported, as using DCMTK <= 3.6.4");
+        throw OrthancException(ErrorCode_NotImplemented, "UV value representation is not supported, as using DCMTK <= 3.6.4");
 #endif
 
       default: