X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/blast.git/blobdiff_plain/84eeae848c9d322ea4c935b8ec7338f69becbc10..cf93fd850a8b6e9a6f40faed9f796a0e2fb0cedb:/ReferenceBlock.cpp?ds=sidebyside 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)); }