Mercurial > hg > orthanc
comparison OrthancServer/ServerJobs/ArchiveJob.cpp @ 2955:bbfd95a0c429
cont
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 03 Dec 2018 14:59:23 +0100 |
parents | ea7aea6f6a95 |
children | 9c0b0a6d8b54 |
comparison
equal
deleted
inserted
replaced
2954:d924f9bb61cc | 2955:bbfd95a0c429 |
---|---|
810 } | 810 } |
811 | 811 |
812 | 812 |
813 void ArchiveJob::Reset() | 813 void ArchiveJob::Reset() |
814 { | 814 { |
815 LOG(ERROR) << "Cannot resubmit the creation of an archive"; | 815 throw OrthancException(ErrorCode_BadSequenceOfCalls, |
816 throw OrthancException(ErrorCode_BadSequenceOfCalls); | 816 "Cannot resubmit the creation of an archive"); |
817 } | 817 } |
818 | 818 |
819 | 819 |
820 void ArchiveJob::Start() | 820 void ArchiveJob::Start() |
821 { | 821 { |