comparison Core/Compression/GzipCompressor.cpp @ 2981:eff50153a7b3 db-changes

integration mainline->db-changes
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 06 Dec 2018 15:58:08 +0100
parents d924f9bb61cc
children 4e43e67f8ecf
comparison
equal deleted inserted replaced
2896:3fabf9a673f6 2981:eff50153a7b3
269 uncompressed.clear(); 269 uncompressed.clear();
270 270
271 // The uncompressed size was not that properly guess, presumably 271 // The uncompressed size was not that properly guess, presumably
272 // because of a file size over 4GB. Should fallback to 272 // because of a file size over 4GB. Should fallback to
273 // stream-based decompression. 273 // stream-based decompression.
274 LOG(ERROR) << "The uncompressed size of a gzip-encoded buffer was not properly guessed"; 274 throw OrthancException(ErrorCode_NotImplemented,
275 throw OrthancException(ErrorCode_NotImplemented); 275 "The uncompressed size of a gzip-encoded buffer was not properly guessed");
276 } 276 }
277 } 277 }
278 } 278 }