/home/bes3soft/bes3soft/Boss/7.0.2/dist/7.0.2/DistBoss/DistBossServer/DistBossServer-00-00-04/src/ServerErrorHandler.cxx

Go to the documentation of this file.
00001 #include "DistBossServer/ServerErrorHandler.h"
00002 #include "DistBossUtil/DimErrorMsg.h"
00003 #include <iostream>
00004 
00005 ServerErrorHandler::ServerErrorHandler()
00006 {
00007 }
00008 
00009 void ServerErrorHandler::errorHandler(int severity, int code, char* msg)
00010 {
00011    std::cerr << '[' << DimError::toSeverity(severity) << "] " << DimError::toMsg(code) << std::endl;
00012    if ( msg != 0 ) {
00013       std::cout << '[' << DimError::toSeverity(severity) << "] " << msg << std::endl;
00014    }
00015 }

Generated on Tue Nov 29 22:58:02 2016 for BOSS_7.0.2 by  doxygen 1.4.7