diff Core/Enumerations.cpp @ 2133:15ae532af70e

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 09 Nov 2016 10:21:37 +0100
parents a43708636890
children 9b373b7d6713
line wrap: on
line diff
--- a/Core/Enumerations.cpp	Wed Nov 09 10:19:53 2016 +0100
+++ b/Core/Enumerations.cpp	Wed Nov 09 10:21:37 2016 +0100
@@ -64,7 +64,7 @@
         return "Parameter out of range";
 
       case ErrorCode_NotEnoughMemory:
-        return "Not enough memory";
+        return "The server hosting Orthanc is running out of memory";
 
       case ErrorCode_BadParameterType:
         return "Bad type for a parameter";
@@ -156,9 +156,6 @@
       case ErrorCode_NotAcceptable:
         return "Cannot send a response which is acceptable according to the Accept HTTP header";
 
-      case ErrorCode_NotEnoughMemory:
-        return "The server hosting Orthanc is running out of memory";
-
       case ErrorCode_NullPointer:
         return "Cannot handle a NULL pointer";