diff Core/DicomFormat/DicomMap.cpp @ 730:309e686b41e7

better logging about nonexistent tags
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 25 Feb 2014 14:51:19 +0100
parents 2d0a347e8cfc
children 67e6400fca03 a811bdf8b8eb
line wrap: on
line diff
--- a/Core/DicomFormat/DicomMap.cpp	Mon Feb 24 13:50:40 2014 +0100
+++ b/Core/DicomFormat/DicomMap.cpp	Tue Feb 25 14:51:19 2014 +0100
@@ -199,7 +199,7 @@
     }
     else
     {
-      throw OrthancException("Inexistent tag");
+      throw OrthancException(ErrorCode_InexistentTag);
     }
   }