diff OrthancFramework/Sources/Toolbox.cpp @ 4297:785a2713323e

abi continued
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 05 Nov 2020 17:20:49 +0100
parents a38376b80cd1
children 3af1d763763a
line wrap: on
line diff
--- a/OrthancFramework/Sources/Toolbox.cpp	Thu Nov 05 15:52:28 2020 +0100
+++ b/OrthancFramework/Sources/Toolbox.cpp	Thu Nov 05 17:20:49 2020 +0100
@@ -2119,8 +2119,8 @@
             (c >= 'a' && c <= 'f') ||
             (c >= '0' && c <= '9')))
       {
-        throw Orthanc::OrthancException(Orthanc::ErrorCode_ParameterOutOfRange,
-                                        "Not an hexadecimal number");
+        throw OrthancException(ErrorCode_ParameterOutOfRange,
+                               "Not an hexadecimal number");
       }
     }
     
@@ -2213,7 +2213,7 @@
   {
     if (!source.isObject())
     {
-      throw Orthanc::OrthancException(Orthanc::ErrorCode_BadFileFormat);
+      throw OrthancException(ErrorCode_BadFileFormat);
     }
 
     target = Json::objectValue;