X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/blast.git/blobdiff_plain/14cd6d834ab531525a51c6a6992583b3e9143e02..8fb3c55ee009a11db5e1c08a4cfb286979412745:/Exception.cpp diff --git a/Exception.cpp b/Exception.cpp index 1329f0c..1003397 100644 --- a/Exception.cpp +++ b/Exception.cpp @@ -42,7 +42,9 @@ QString Exception::getDefaultMessage() { case BLOCKITEM_INVALID_TYPE : ret = tr("A parameter of type AbstractBlockItem* is used with an incorrect instance type."); break; case WIDTHS_NOT_EQUALS : ret = tr("Two interfaces are connected but don't have the same widths."); break; case INVALID_VALUE : ret = tr("parameter value is not correct (e.g. not numeric, invalid other parameter name, ...)."); break; - case INVALID_REFBLOCK_USE : ret = tr("a reference block is used during pattern computations"); break; + case INVALID_FUNBLOCK_USE : ret = tr("a functional block is used for an unauthorized operation while analyzing the design"); break; + case INVALID_REFBLOCK_USE : ret = tr("a reference block is used for an unauthorized operation while analyzing the design"); break; + case INVALID_GROUPBLOCK_USE : ret = tr("a group block is used for an unauthorized operation while analyzing the design"); break; case INVALID_DELTA_CP : ret = tr("delta and CP are not consistent"); break; case EVAL_PARAM_UNKNOWN : ret = tr("a variable used in an expression is not defined as a block parameter"); break; case EVAL_PARAM_NOVALUE : ret = tr("can't get the double value of a block parameter"); break;