Bdb packages | Design docs | Source docs | Guidelines | Recent releases

Search | Site Map .

Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

/BdbUtil/BdbErrors.hh

Go to the documentation of this file.
00001 //--------------------------------------------------------------------------
00002 // File and Version Information:
00003 //  $Id: BdbErrors.hh,v 1.10 2000/10/20 17:55:16 becla Exp $
00004 //
00005 // Description:
00006 //  BdbErrors.hh header file. This header file defines the error number
00007 //  bases & ranges for the Bbd packages.
00008 //
00009 // Environment:
00010 //  Software developed for the BaBar Detector at the SLAC B-Factory.
00011 //
00012 // Author List:
00013 //  David R. Quarrie                Lawrence Berkeley National Laboratory
00014 //
00015 // History:
00016 //
00017 //------------------------------------------------------------------------
00018 #ifndef BDBERRORS_HH
00019 #define BDBERRORS_HH
00020 
00021 //-----------------
00022 // BaBar Headers --
00023 //-----------------
00024 #ifndef BABAR_HH
00025 #include "BaBar/BaBar.hh"
00026 #endif
00027 
00028 #ifndef BDB_HH
00029 #include "BdbUtil/Bdb.hh"
00030 #endif
00031 
00032 const d_ULong BdbErrorBase  = 2000000;
00033 const d_ULong BdbErrorRange = 1000;
00034 
00035 // Error numbers for known packages
00036 const d_ULong BdbErrors             = BdbErrorBase;
00037 const d_ULong BdbUtilErrors         = BdbErrors             + BdbErrorRange;
00038 const d_ULong BdbApplicationErrors  = BdbUtilErrors         + BdbErrorRange;
00039 const d_ULong BdbEventErrors        = BdbApplicationErrors  + BdbErrorRange;
00040 const d_ULong BdbEventFrameErrors   = BdbEventErrors        + BdbErrorRange;
00041 const d_ULong BdbModulesErrors      = BdbEventFrameErrors   + BdbErrorRange;
00042 const d_ULong BdbCondErrors         = BdbModulesErrors      + BdbErrorRange;
00043 const d_ULong BdbAccessErrors       = BdbCondErrors         + BdbErrorRange;
00044 const d_ULong BdbClusteringErrors   = BdbAccessErrors       + BdbErrorRange;
00045 const d_ULong BdbEventStoreErrors   = BdbClusteringErrors   + BdbErrorRange;
00046 const d_ULong BdbDistributionErrors = BdbEventStoreErrors   + BdbErrorRange;
00047 const d_ULong BdbCondTestsErrors    = BdbDistributionErrors + BdbErrorRange;
00048 const d_ULong BdbTreesErrors        = BdbCondTestsErrors    + BdbErrorRange;
00049 const d_ULong BdbEvsLoadersErrors   = BdbTreesErrors        + BdbErrorRange;
00050 const d_ULong BdbPromptRecoErrors   = BdbEvsLoadersErrors   + BdbErrorRange;
00051 const d_ULong BdbIndexingErrors     = BdbPromptRecoErrors   + BdbErrorRange;
00052 const d_ULong BdbGridFileErrors     = BdbIndexingErrors     + BdbErrorRange;
00053 const d_ULong BdbBitMapErrors       = BdbGridFileErrors     + BdbErrorRange;
00054 const d_ULong BdbAdminToolsErrors   = BdbBitMapErrors       + BdbErrorRange;
00055 const d_ULong BdbClusteringServerErrors = BdbAdminToolsErrors + BdbErrorRange;
00056 
00057 // Add new packages here.
00058 
00059 #endif // BDBERRORS_HH

 


BaBar Public Site | SLAC | News | Links | Who's Who | Contact Us

Page Owner: Jacek Becla
Last Update: October 04, 2002