X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/blast.git/blobdiff_plain/8fb3c55ee009a11db5e1c08a4cfb286979412745..bc5d59217a24b25c1b913bec4a41dd026d02720c:/Exception.cpp diff --git a/Exception.cpp b/Exception.cpp index 1003397..4bb5ff0 100644 --- a/Exception.cpp +++ b/Exception.cpp @@ -33,11 +33,12 @@ QString Exception::getDefaultMessage() { case VHDLFILE_NOACCESS : ret = tr("VHDL file cannot be read"); break; case VHDLFILE_CORRUPTED : ret = tr("VHDL file is corrupted"); break; case IFACE_NULL : ret = tr("A parameter of type AbstractInterface* has been provided with NULL value."); break; - case IFACE_INVALID_TYPE : ret = tr("A parameter of type AbstractInterface* is used with an incorrect instance type."); break; + case IFACE_INVALID_TYPE : ret = tr("an interface is used for an unauthorized operation according its instance type."); break; case IFACE_MULTIPLICITY_REACHED : ret = tr("Impossible to create another instance of a GraphInterface: the maximum multiplicity is reached."); break; case IFACE_BLOCK_NOCLKRST : ret = tr("Cannot find a clk or rst for a block."); break; case IFACE_GROUP_NOCLKRST : ret = tr("Cannot find a clk or rst for a group."); break; case IFACE_TOP_NOCLKRSTGEN : ret = tr("Cannot find the clkrstgen block in top group."); break; + case IFACE_INVALID_CLKFREQ : ret = tr("Cannot determine the frequency of the clock that synchronizes an interface."); break; case BLOCKITEM_NULL : ret = tr("A parameter of type AbstractBlockItem* has been provided with NULL value."); break; 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;