Mercurial > hg > orthanc
comparison Core/WebServiceParameters.cpp @ 3716:ae0e3fd609df
sample for "Manufacturer" option in "DicomModalities" config
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 04 Mar 2020 10:00:42 +0100 |
parents | 94f4a18a79cc |
children | da06381f3091 |
comparison
equal
deleted
inserted
replaced
3714:e9029cb94d7c | 3716:ae0e3fd609df |
---|---|
302 case Json::intValue: | 302 case Json::intValue: |
303 userProperties_[*it] = boost::lexical_cast<std::string>(peer[*it].asInt()); | 303 userProperties_[*it] = boost::lexical_cast<std::string>(peer[*it].asInt()); |
304 break; | 304 break; |
305 | 305 |
306 default: | 306 default: |
307 throw OrthancException(ErrorCode_BadFileFormat); | 307 throw OrthancException(ErrorCode_BadFileFormat, |
308 "User-defined properties associated with a Web service must be strings: " + *it); | |
308 } | 309 } |
309 } | 310 } |
310 } | 311 } |
311 } | 312 } |
312 | 313 |