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