comparison Core/OrthancException.h @ 2223:29689b30f9ae

cppcheck
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 13 Dec 2016 15:28:05 +0100
parents b1291df2f780
children a3a65de1840f
comparison
equal deleted inserted replaced
2222:21713ce8717b 2223:29689b30f9ae
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