Mercurial > hg > orthanc-stone
comparison Resources/Orthanc/Core/OrthancException.h @ 30:1099a148f7e5
sync
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 14 Dec 2016 17:05:41 +0100 |
parents | ff1e935768e7 |
children | 7207a407bcd8 |
comparison
equal
deleted
inserted
replaced
29:22ab2d8566fa | 30:1099a148f7e5 |
---|---|
43 protected: | 43 protected: |
44 ErrorCode errorCode_; | 44 ErrorCode errorCode_; |
45 HttpStatus httpStatus_; | 45 HttpStatus httpStatus_; |
46 | 46 |
47 public: | 47 public: |
48 OrthancException(ErrorCode errorCode) : | 48 explicit OrthancException(ErrorCode errorCode) : |
49 errorCode_(errorCode), | 49 errorCode_(errorCode), |
50 httpStatus_(ConvertErrorCodeToHttpStatus(errorCode)) | 50 httpStatus_(ConvertErrorCodeToHttpStatus(errorCode)) |
51 { | 51 { |
52 } | 52 } |
53 | 53 |