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  

/BdbTrees/BdbDbRegistrator.cc File Reference

#include "BdbTrees/BdbDbRegistrator.hh"
#include "BdbApplication/BdbDomain.hh"
#include "BdbApplication/BdbDebug.hh"
#include "BdbAccess/BdbDbAccessMgr.hh"
#include "BdbAccess/BdbContAccessMgr.hh"
#include "BdbTrees/BdbTreesErrors.hh"
#include <ctype.h>
#include <string.h>
#include <unistd.h>

Go to the source code of this file.

Functions

void BaBarObjyMessageHandler (char *)
ooStatus BaBarObjyErrorHandler (ooErrorLevel, ooError &, ooHandle(ooObj)*, char *)


Function Documentation

ooStatus BaBarObjyErrorHandler ooErrorLevel    errorLevel,
ooError &    errorID,
ooHandle(ooObj)*    contextObj,
char *    errMsg
 

BaBarObjyErrorHandler

This function replaces default Objectivity error handler. Error 3001 corresponds to a conflict with an existing lock on an object. Error 4577 correponds to a conflict with an existing lock on a container. Both of these are benign when they occur in BdbApplication::readAttempt, which is when this error handler is active.

Error 3028 corresponds to detection of a deadlock

Definition at line 81 of file BdbApplication.cc.

References BdbApplication::_pid, BdbcError, BdbcWarning, BdbSignal, COUT1, and defEHPtr.

void BaBarObjyMessageHandler char *    message
 

BaBarMessageHandler

This function replaces default Objectivity message handler. It redirects all Objy error messages to BaBar ErrLogger and reformats the data.

Definition at line 131 of file BdbApplication.cc.

 


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

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