Mercurial > hg > orthanc-client
comparison CppClient/OrthancClientException.h @ 14:f7379096e014
fix
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 04 Jan 2016 14:21:51 +0100 |
parents | e59bf2554e59 |
children |
comparison
equal
deleted
inserted
replaced
13:a07ee8b6946e | 14:f7379096e014 |
---|---|
39 { | 39 { |
40 class OrthancClientException : public ::Laaw::LaawException | 40 class OrthancClientException : public ::Laaw::LaawException |
41 { | 41 { |
42 public: | 42 public: |
43 OrthancClientException(Orthanc::ErrorCode code) : | 43 OrthancClientException(Orthanc::ErrorCode code) : |
44 LaawException(Orthanc::OrthancException::GetDescription(code)) | 44 LaawException(Orthanc::EnumerationToString(code)) |
45 { | 45 { |
46 } | 46 } |
47 | 47 |
48 OrthancClientException(const char* message) : | 48 OrthancClientException(const char* message) : |
49 LaawException(message) | 49 LaawException(message) |