]> AND Private Git Repository - blast.git/blobdiff - ReferenceBlock.cpp
Logo AND Algorithmique Numérique Distribuée

Private GIT Repository
corrected some warnings
[blast.git] / ReferenceBlock.cpp
index 89bde3a402b65fc473df5412a21ba1c3df80e77b..a31db67b0f28c807c21b910f6cb979037f70876a 100644 (file)
@@ -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));  
 }