Mercurial > hg > orthanc
comparison OrthancServer/OrthancInitialization.cpp @ 1545:33d34bc4ac15
fix msvc warnings
author | jodogne |
---|---|
date | Thu, 13 Aug 2015 21:02:31 +0200 |
parents | 95b3b0260240 |
children | d7e569640d09 |
comparison
equal
deleted
inserted
replaced
1544:4d0e2c38d15b | 1545:33d34bc4ac15 |
---|---|
420 | 420 |
421 try | 421 try |
422 { | 422 { |
423 modality.FromJson(modalities[name]); | 423 modality.FromJson(modalities[name]); |
424 } | 424 } |
425 catch (OrthancException& e) | 425 catch (OrthancException&) |
426 { | 426 { |
427 LOG(ERROR) << "Syntax error in the definition of DICOM modality \"" << name | 427 LOG(ERROR) << "Syntax error in the definition of DICOM modality \"" << name |
428 << "\". Please check your configuration file."; | 428 << "\". Please check your configuration file."; |
429 throw; | 429 throw; |
430 } | 430 } |
453 throw OrthancException(ErrorCode_InexistentItem); | 453 throw OrthancException(ErrorCode_InexistentItem); |
454 } | 454 } |
455 | 455 |
456 peer.FromJson(modalities[name]); | 456 peer.FromJson(modalities[name]); |
457 } | 457 } |
458 catch (OrthancException& e) | 458 catch (OrthancException&) |
459 { | 459 { |
460 LOG(ERROR) << "Syntax error in the definition of peer \"" << name | 460 LOG(ERROR) << "Syntax error in the definition of peer \"" << name |
461 << "\". Please check your configuration file."; | 461 << "\". Please check your configuration file."; |
462 throw; | 462 throw; |
463 } | 463 } |