X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/blast.git/blobdiff_plain/84eeae848c9d322ea4c935b8ec7338f69becbc10..7b1c7e44123b9b2626205a89e27b2a4712ea30c6:/ReferenceBlock.cpp diff --git a/ReferenceBlock.cpp b/ReferenceBlock.cpp index 89bde3a..a31db67 100644 --- a/ReferenceBlock.cpp +++ b/ReferenceBlock.cpp @@ -567,11 +567,11 @@ QDataStream& operator>>(QDataStream &in, ReferenceBlock &b) { return in; } -bool ReferenceBlock::checkInputPatternCompatibility() { - return false; +void ReferenceBlock::checkInputPatternCompatibility() throw(Exception){ + throw(Exception(INVALID_REFBLOCK_USE)); } -bool ReferenceBlock::computeOutputPattern(int nbExec) { +void ReferenceBlock::computeOutputPattern(int nbExec) throw(Exception) { // does strictly nothing - return false; + throw(Exception(INVALID_REFBLOCK_USE)); }