Mercurial > hg > orthanc
diff OrthancCppClient/OrthancConnection.cpp @ 504:50d9660f960c laaw
laaw exception
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 18 Jul 2013 10:12:20 +0200 |
parents | 7f7a2d174acb |
children | 6e4bd06c17c5 |
line wrap: on
line diff
--- a/OrthancCppClient/OrthancConnection.cpp Thu Jul 18 09:32:03 2013 +0200 +++ b/OrthancCppClient/OrthancConnection.cpp Thu Jul 18 10:12:20 2013 +0200 @@ -32,8 +32,6 @@ #include "OrthancConnection.h" -#include "../Core/OrthancException.h" - namespace OrthancClient { void OrthancConnection::ReadPatients() @@ -42,7 +40,7 @@ Json::Value v; if (!client_.Apply(content_)) { - throw Orthanc::OrthancException(Orthanc::ErrorCode_NetworkProtocol); + throw OrthancClientException(Orthanc::ErrorCode_NetworkProtocol); } }