Mercurial > hg > orthanc
comparison Core/DicomNetworking/DicomAssociation.cpp @ 3843:138d0dde41b5
end of replacements of DicomUserConnection by DicomControlUserConnection
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 16 Apr 2020 17:24:24 +0200 |
parents | 447880856ce8 |
children | ea1d32861cfc |
comparison
equal
deleted
inserted
replaced
3842:bdbe12aba99f | 3843:138d0dde41b5 |
---|---|
176 { | 176 { |
177 try | 177 try |
178 { | 178 { |
179 Close(); | 179 Close(); |
180 } | 180 } |
181 catch (OrthancException&) | 181 catch (OrthancException& e) |
182 { | 182 { |
183 // Don't throw exception in destructors | 183 // Don't throw exception in destructors |
184 LOG(ERROR) << "Error while destroying a DICOM association: " << e.What(); | |
184 } | 185 } |
185 } | 186 } |
186 | 187 |
187 | 188 |
188 void DicomAssociation::SetRole(DicomAssociationRole role) | 189 void DicomAssociation::SetRole(DicomAssociationRole role) |
513 { | 514 { |
514 info += ")"; | 515 info += ")"; |
515 } | 516 } |
516 | 517 |
517 throw OrthancException(ErrorCode_NetworkProtocol, | 518 throw OrthancException(ErrorCode_NetworkProtocol, |
518 "DicomUserConnection - " + command + " to AET \"" + | 519 "DicomAssociation - " + command + " to AET \"" + |
519 parameters.GetRemoteApplicationEntityTitle() + | 520 parameters.GetRemoteApplicationEntityTitle() + |
520 "\": " + info); | 521 "\": " + info); |
521 } | 522 } |
522 } | 523 } |
523 | 524 |