Mercurial > hg > orthanc
comparison 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 |
comparison
equal
deleted
inserted
replaced
729:948720c72586 | 730:309e686b41e7 |
---|---|
197 { | 197 { |
198 return *value; | 198 return *value; |
199 } | 199 } |
200 else | 200 else |
201 { | 201 { |
202 throw OrthancException("Inexistent tag"); | 202 throw OrthancException(ErrorCode_InexistentTag); |
203 } | 203 } |
204 } | 204 } |
205 | 205 |
206 | 206 |
207 const DicomValue* DicomMap::TestAndGetValue(const DicomTag& tag) const | 207 const DicomValue* DicomMap::TestAndGetValue(const DicomTag& tag) const |