diff OrthancCppClient/Study.cpp @ 504:50d9660f960c laaw

laaw exception
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 18 Jul 2013 10:12:20 +0200
parents ec19da4a1fe7
children 2d0a347e8cfc
line wrap: on
line diff
--- a/OrthancCppClient/Study.cpp	Thu Jul 18 09:32:03 2013 +0200
+++ b/OrthancCppClient/Study.cpp	Thu Jul 18 10:12:20 2013 +0200
@@ -33,7 +33,6 @@
 #include "Study.h"
 
 #include "OrthancConnection.h"
-#include "../Core/OrthancException.h"
 
 namespace OrthancClient
 {
@@ -45,7 +44,7 @@
     Json::Value v;
     if (!client.Apply(study_))
     {
-      throw Orthanc::OrthancException(Orthanc::ErrorCode_NetworkProtocol);
+      throw OrthancClientException(Orthanc::ErrorCode_NetworkProtocol);
     }
   }