Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

errnum_def.h

Go to the documentation of this file.
00001 //-------------------------------------------------------------
00002 //        Go4 Release Package v3.04-01 (build 30401)
00003 //                      28-November-2008
00004 //---------------------------------------------------------------
00005 //   The GSI Online Offline Object Oriented (Go4) Project
00006 //   Experiment Data Processing at EE department, GSI
00007 //---------------------------------------------------------------
00008 //
00009 //Copyright (C) 2000- Gesellschaft f. Schwerionenforschung, GSI
00010 //                    Planckstr. 1, 64291 Darmstadt, Germany
00011 //Contact:            http://go4.gsi.de
00012 //----------------------------------------------------------------
00013 //This software can be used under the license agreements as stated
00014 //in Go4License.txt file which is part of the distribution.
00015 //----------------------------------------------------------------
00016 #include "typedefs.h"
00017 /* ++++++++++++++++++++++
00018  * +++ errnum_def.h +++
00019  * ++++++++++++++++++++++
00020  * RSMayer
00021  * 07-Feb-1994
00022  * error numbers
00023  * last modification:
00024  *   23-Mar-1994 RSMayer insert EVent_server error numbers
00025  *   25-Mar-1994 RSMayer ERR__SIGNAL, SETTASK, SETVERB, CLRVERB added.
00026  *   31-Mar-1994 RSMayer ERR__USBFTY, ERR__NKNBFTY.
00027  *   12-Jul-1994 RSMayer Error numbers and msg. for Esone Server
00028  *   16-Feb-1995 RSMayer new error numbers. /RSM
00029  *   08-Mar-1995 RSMayer some basic error number text modified.
00030 */
00031 /* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! */
00032 /* !!!! error numbers MUST be changed in s_error.h TOO !!!! */
00033 /* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! */
00034 
00035 /* !!! bit1:0 succes, bit1:1 error, i.e. odd numbers are errors! !!! */
00036 
00037 /* +++ UTIlity      error numbers start with   0 +++ */
00038 #define ERR__SUCCESS  0    /* Normal successfull completion && */
00039 #define ERR__ERROR    1    /* Error: && */
00040 /* */
00041 #define ERR__INFO     2    /* && */ /* only text */
00042 #define ERR__ERR      3    /* && */ /* only text */
00043 #define ERR__WARN     4    /* Warning: &&        */
00044 /* */
00045 #define ERR__ERRNF    7    /* Error number && not found */
00046 #define ERR__MSKNF    9    /* Mask && not found */
00047 #define ERR__MSKNIMPL 11   /* Mask && not implemented */
00048 #define ERR__FNIMPL   13   /* Feature not implemented. && */
00049 #define ERR__SYSERR   15   /* System error: && */
00050 #define ERR__SIGNAL   16   /* Signal: && */
00051 
00052 #define ERR__SETTASK  60   /* Set task name &&. */
00053 #define ERR__SETVERB  62   /* Verbosity flag set: &&. */
00054 #define ERR__CLRVERB  64   /* Verbosity flag cleared: &&. */
00055 #define ERR__STS      66   /* errstat &&. */
00056 #define ERR__INIT     68   /* Using f_ut_error local ctrl structure. */
00057 #define ERR__INITERR  69   /* Warn: Not specified, using local ctrl structure.*/
00058 #define ERR__INITGET  70   /* Get f_ut_error ctrl structure. &&.*/
00059 #define ERR__INITADDR 71   /* Invalid addr:
00060                               Read or write f_ut_error ctrl structure. */
00061 #define ERR__INITPUT  72   /* Put f_ut_error ctrl structure. &&.*/
00062 #define ERR__TEST     74   /* Test f_ut_error: &&. */
00063 #define ERR__ENALOG   76   /* Enable message log: &&. */
00064 #define ERR__DISLOG   78   /* Disable message log: &&. */
00065 
00066 #define ERR__MSG_COMM  80   /* Write command style to f_ut_send_msg */
00067 #define ERR__MSG_INFO  81   /* Write info style to f_ut_send_msg    */
00068 #define ERR__MSG_ERROR 82   /* Write error style to f_ut_send_msg   */
00069 
00070 
00071 /* +++ COLlector    error numbers start with 100 +++ */
00072 #define ERR__COL_HISENA 101 /* Histogramming already enabled. && */
00073 #define ERR__COL_FIEVT  103 /* first event was not triggertype 14 */
00074 #define ERR__COL_TRMIS  105 /* trigger type or local event counter mismatch */
00075 #define ERR__COL_TRTYP  107 /* trigger type is out of range (1-15) */
00076 #define ERR__COL_BIGEV  109 /* event is bigger than stream capacity */
00077 #define ERR__COL_DAMIS  111 /* mismatch in pipe data buffers 0,1 */
00078 
00079 
00080 /* +++ RD (Readout) error numbers start with 200 +++ */
00081 #define ERR__RD_FITRG  201 /* first trigger type was not 14 */
00082 #define ERR__RD_NORDT  203 /* table readout specified but no readout table */
00083                            /* was loaded */
00084 #define ERR__RD_LECMIS 205 /* local event counter differs more than 1 count */
00085                            /* compared to previous one (modula 32) */
00086 #define ERR__RD_TRTYP  207 /* trigger type is out of range (1-15) */
00087 #define ERR__RD_TRMIS  209 /* trigger type is out of range (1-15) */
00088 
00089 
00090 /* +++ TRansport    error numbers start with 300 +++ */
00091 #define ERR__MALLOC 301
00092 #define ERR__SCSI_WRTFILEMARK 303
00093 #define ERR__SCSI_WRITE 305
00094 #define ERR__SCSI_REWIND 307
00095 #define ERR__SCSI_UNLOAD 309
00096 #define ERR__SCSI_OPEN 311
00097 #define ERR__SCSI_SETBLKSIZE 313
00098 #define ERR__SCSI_UNKNMEDIA 315
00099 #define ERR__SCSI_MSENSE 317
00100 #define ERR__SCSI_INQUIRY 319
00101 #define ERR__SCSI_MSELECT 321
00102 
00103 
00104 /* +++ EVent_server error numbers start with 400 +++ */
00105 #define ERR__EV_CLNOTMR  400  /* Warning: Client not marked. && */
00106 #define ERR__EV_CLAMRK   402  /* Warning: Client allready marked. && */
00107 #define ERR__EV_ECLAMRK  403  /* Client allready marked. && */
00108 #define ERR__EV_CLNOTV   404  /* Warning: Client not valid. && */
00109 #define ERR__EV_ECLNOTV  405  /* Client not valid. && */
00110 #define ERR__EV_CLNRDY   406  /* No client ready/active. && */
00111 #define ERR__EV_FLTNV    407  /* Filter not valid. && */
00112 #define ERR__EV_WARNFLT  408  /* Warning for filter. && */
00113 #define ERR__EV_EBFACKN  409  /* Buffer acknoledge. && */
00114 #define ERR__EV_WBFACKN  410  /* Warning: Buffer acknoledge. && */
00115 #define ERR__EV_WBACKTO  412  /* Warning: Buffer acknoledge timeout. && */
00116 #define ERR__EV_WBFPEND  414  /* Buffer pending. && */
00117 #define ERR__EV_CLNSTS   415  /* Wrong client status. && */
00118 #define ERR__EV_LSTBUF   416  /* Info: Was last buffer. && */
00119 #define ERR__EV_WRTBUF   417  /* Error writing buffer. && */
00120 #define ERR__EV_CLNACC   419  /* Error client accept . && */
00121 #define ERR__EV_RELSTR   420  /* Release stream: &&. */
00122 #define ERR__EV_USBFTY   421  /* Unsupported buffer typ: &&. */
00123 #define ERR__EV_UKNBFTY  423  /* Unknown buffer typ: &&. */
00124 #define ERR__EV_UKNEVTY  425  /* Unknown event typ: &&. */
00125 #define ERR__EV_UKNSETY  427  /* Unknown subevent typ: &&. */
00126 #define ERR__EV_EVTOOBIG 429  /* Event too big for buffer: &&. */
00127 /* */
00128 
00129 /* +++ ESone_server error numbers start with 500 +++ */
00130 #define ERR__ES_CLNOTMR  500  /* Warning: Client not marked. && */
00131 #define ERR__ES_CLAMRK   502  /* Warning: Client allready marked. && */
00132 #define ERR__ES_BFRDTO   514  /* Buffer read timeout. && */
00133 #define ERR__ES_ERDBUF   515  /* Error reading buffer. && */
00134 #define ERR__ES_LSTBUF   516  /* Info: Was last buffer. && */
00135 #define ERR__ES_WRTBUF   517  /* Error writing buffer. && */
00136 #define ERR__ES_CLNACC   519  /* Error client accept. && */
00137 #define ERR__ES_MAXCLN   521  /* Maximum number of clients exceeded. && */
00138 #define ERR__ES_BFSTRD   530  /* Buffer status read: && */
00139 #define ERR__ES_BFSTWR   532  /* Buffer status write: && */
00140 #define ERR__ES_BFPROC   534  /* Buffer in process: && */
00141 #define ERR__ES_EESONE   537  /* Error in Esone call: && */
00142 /* */
00143 
00144 /* +++ Histogram_manager error numbers start with 600 +++ */
00145 #define ERR__HIS_SPNFND  601  /* Error: Histogram && not found */
00146 #define ERR__HIS_EOFSPN  602  /* Warn: End of histogram list. && */
00147 #define ERR__HIS_RANGES  603  /* Error: Value out of range. && */
00148 #define ERR__HIS_WRNGNO  605  /* Error: Wrong number typed */
00149 #define ERR__HIS_EANAL   607  /* Error in analysis: && */
00150 #define ERR__HIS_NFREEM  609  /* Error: Can't get the memory */
00151 #define ERR__HIS_NOPENF  611  /* Error: Can't open the file */
00152 #define ERR__HIS_INVHIS  613  /* Error: Invalid histogram name or too long */
00153 #define ERR__HIS_NALFNO  615  /* Error: Only alphanumeric symbols allowed */
00154 #define ERR__HIS_NOMEMR  617  /* Error: No memory allocated */
00155 #define ERR__HIS_HALREX  619  /* Histogram && already exists */
00156 #define ERR__HIS_NFREDP  621  /* No free memory in data pool && */
00157 #define ERR__HIS_HTABFU  623  /* Histogram table full && */
00158 #define ERR__HIS_EWPAR   625  /* Wrong parameter && */
00159 #define ERR__HIS_SKIPEVT 626  /* Skip event &&. */
00160 #define ERR__HIS_SKIPSEV 628  /* Skip subevent &&. */
00161 #define ERR__HIS_NBASATT 629  /* No Base attached. &&*/
00162 #define ERR__HIS_BASATT  630  /* Base && already attached. */
00163 #define ERR__HIS_NHISBAS 631  /* Base && is not a histogram base. */
00164 #define ERR__HIS_DBLOCK  633  /* Base locked by another user. && */
00165 /* */
00166 
00167 //----------------------------END OF GO4 SOURCE FILE ---------------------

Generated on Fri Nov 28 12:59:32 2008 for Go4-v3.04-1 by  doxygen 1.4.2