comparison OrthancServer/ServerJobs/OrthancPeerStoreJob.cpp @ 2842:ff0ed5ea9e4e

trailing step in SetOfInstancesJob
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 26 Sep 2018 15:55:42 +0200
parents ea7aea6f6a95
children 4e43e67f8ecf
comparison
equal deleted inserted replaced
2841:bf019ee38498 2842:ff0ed5ea9e4e
72 throw OrthancException(ErrorCode_NetworkProtocol); 72 throw OrthancException(ErrorCode_NetworkProtocol);
73 } 73 }
74 } 74 }
75 75
76 76
77 bool OrthancPeerStoreJob::HandleTrailingStep()
78 {
79 throw OrthancException(ErrorCode_InternalError);
80 }
81
82
77 void OrthancPeerStoreJob::SetPeer(const WebServiceParameters& peer) 83 void OrthancPeerStoreJob::SetPeer(const WebServiceParameters& peer)
78 { 84 {
79 if (IsStarted()) 85 if (IsStarted())
80 { 86 {
81 throw OrthancException(ErrorCode_BadSequenceOfCalls); 87 throw OrthancException(ErrorCode_BadSequenceOfCalls);