Main Page | Class Hierarchy | Compound List | File List | Compound Members

BxErrors.h

00001 // ##################################################################
00002 // Binx
00003 // $Id: BxErrors_8h-source.html,v 1.1.1.1 2006/04/19 14:19:02 edikt2 Exp $
00004 //
00005 // Static members are included in this class for recording errors.
00006 // ##################################################################
00007 /*
00008 
00009 //  edikt::BinX
00010 //  www.edikt.org
00011 //  support@edikt.org
00012 
00013 // Copyright (c) 2003 The University of Edinburgh.
00014 
00015 */
00016 
00017 #ifndef __BxErrors1__
00018 #define __BxErrors1__
00019 
00020 #define BX_ERROR_DATA       1000
00021 #define BX_ERROR_NO_VAR     1001
00022 #define BX_ERROR_NO_TYPE    1002
00023 #define BX_ERROR_DATATYPE   1100
00024 #define BX_ERROR_DATARANGE  1200
00025 #define BX_ERROR_EXCEPTION_FLOAT    1101
00026 #define BX_ERROR_QUADRUPLE          1102
00027 
00028 #define BX_ERROR_BIN                2000
00029 #define BX_ERROR_BIN_NOFILE         2001
00030 #define BX_ERROR_BIN_NOTREAD        2002
00031 #define BX_ERROR_BIN_CREATE         2003
00032 #define BX_ERROR_BIN_BLOCKREAD      2004
00033 #define BX_ERROR_BIN_BLOCKWRITE     2005
00034 
00035 #define BX_ERROR_DOM                3000
00036 #define BX_ERROR_DOM_NOTBINX        3001
00037 #define BX_ERROR_DOM_NOFILE         3002
00038 #define BX_ERROR_DOM_NOSRC          3003
00039 #define BX_ERROR_DOM_NOTYPENAME     3010
00040 #define BX_ERROR_DOM_NOTYPECONTENT  3011
00041 #define BX_ERROR_DOM_NOTDEFINEDTYPE 3012
00042 #define BX_ERROR_DOM_NOCHILD        3013
00043 #define BX_ERROR_DOM_BLOCKSIZE      3020
00044 #define BX_ERROR_DOM_ARRAYTYPE      3030
00045 #define BX_ERROR_DOM_ARRAY          3031
00046 #define BX_ERROR_DOM_UNKNOWNTAG     3040
00047 
00048 #define BX_ERROR_BINX_OPEN          4001
00049 #define BX_ERROR_BINX_CREATE        4002
00050 
00051 #define BX_ERROR_MEMALLOC           5000
00052 #define BX_ERROR_ARRAYINDEX         5010
00053 
00054 char * GetErrorMessage(int errorCode);
00055 
00056 #endif

Generated on Fri May 6 13:36:17 2005 for edikt::BinX by doxygen 1.3.3