comparison OrthancServer/SliceOrdering.cpp @ 2955:bbfd95a0c429

cont
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 03 Dec 2018 14:59:23 +0100
parents d88970f1ffbf
children 4e43e67f8ecf
comparison
equal deleted inserted replaced
2954:d924f9bb61cc 2955:bbfd95a0c429
405 CreateInstances(); 405 CreateInstances();
406 406
407 if (!SortUsingPositions() && 407 if (!SortUsingPositions() &&
408 !SortUsingIndexInSeries()) 408 !SortUsingIndexInSeries())
409 { 409 {
410 LOG(ERROR) << "Unable to order the slices of the series " << seriesId; 410 throw OrthancException(ErrorCode_CannotOrderSlices,
411 throw OrthancException(ErrorCode_CannotOrderSlices); 411 "Unable to order the slices of series " + seriesId);
412 } 412 }
413 } 413 }
414 414
415 415
416 SliceOrdering::~SliceOrdering() 416 SliceOrdering::~SliceOrdering()