std::stringerrorMsg="In InterpolationFilePositionEstimator::getFilePosition(), the media type "+m_mediaType.name+" does not contain any information about the number of wraps the media has.";
std::stringerrorMsg="In InterpolationFilePositionEstimator::determineWrapNb(), unable to find the wrap number of the blockId "+std::to_string(blockId)+" because no EOWP informations have been found.";
throwcta::exception::Exception(errorMsg);
}
if(m_endOfWrapPositions.size()==1){
//We are sure that if we have only 1 wrap, the file will be on the wrap 0
std::stringerrorMsg="In InterpolationFilePositionEstimator::checkMediaTypeConsistency(), the media type ("+m_mediaType.name+") associated to the tape does not give informations about number of wraps the media contains.";
std::stringerrorMsg="In InterpolationFilePositionEstimator::checkMediaTypeConsistency(), the media type ("+m_mediaType.name+") associated to the tape mounted does not give informations about the number of wraps the media contains.";