X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/blast.git/blobdiff_plain/abbc64cf04a35ab3549d5c516f44c7c5921baa63..48f48e6a26a54751ecd0ab90b10ab972cc5e89cd:/Exception.h?ds=sidebyside diff --git a/Exception.h b/Exception.h index 32b2e49..c65ed5a 100644 --- a/Exception.h +++ b/Exception.h @@ -20,41 +20,43 @@ supp. infos : saved in UTF-8 [éè] #include // exceptions for file accesses -#define CONFIGFILE_NOACCESS 1 -#define CONFIGFILE_CORRUPTED 2 +#define CONFIGFILE_NOACCESS 101 +#define CONFIGFILE_CORRUPTED 102 -#define PROJECTFILE_NOACCESS 3 -#define PROJECTFILE_CORRUPTED 4 +#define PROJECTFILE_NOACCESS 201 +#define PROJECTFILE_CORRUPTED 202 -#define BLOCKPATH_NOACCESS 5 -#define IMPLPATH_NOACCESS 6 +#define BLOCKFILE_NOACCESS 301 +#define BLOCKFILE_CORRUPTED 302 -#define BLOCKFILE_NOACCESS 7 -#define BLOCKFILE_CORRUPTED 8 +#define IMPLFILE_NOACCESS 401 +#define IMPLFILE_CORRUPTED 402 +#define IMPLFILE_NOPATTERN 403 -#define IMPLFILE_NOACCESS 9 -#define IMPLFILE_CORRUPTED 10 +#define VHDLFILE_NOACCESS 501 -#define VHDLFILE_NOACCESS 11 +#define BLOCKPATH_NOACCESS 601 + +#define IMPLPATH_NOACCESS 701 // exceptions for block manipulations -#define BLOCK_NULL 100 -#define BLOCK_INVALID_TYPE 101 +#define BLOCK_NULL 1001 +#define BLOCK_INVALID_TYPE 1002 // exceptions for interfaces manipulations -#define IFACE_NULL 200 -#define IFACE_INVALID_TYPE 201 -#define IFACE_MULTIPLICITY_REACHED 202 +#define IFACE_NULL 2001 +#define IFACE_INVALID_TYPE 2002 +#define IFACE_MULTIPLICITY_REACHED 2003 // exceptions for block items manipulations -#define BLOCKITEM_NULL 300 -#define BLOCKITEM_INVALID_TYPE 301 +#define BLOCKITEM_NULL 3001 +#define BLOCKITEM_INVALID_TYPE 3002 // exceptions for width interfaces validation -#define WIDTHS_NOT_EQUALS 400 +#define WIDTHS_NOT_EQUALS 4001 // exceptions for VHDL generation -#define INVALID_VALUE 500 +#define INVALID_VALUE 5001 using namespace std; using namespace Qt;