BOSS
7.0.4
BESIII Offline Software System
Loading...
Searching...
No Matches
ServerErrorHandler.cxx
Go to the documentation of this file.
1
#include "DistBossServer/ServerErrorHandler.h"
2
#include "DistBossUtil/DimErrorMsg.h"
3
#include <iostream>
4
5
ServerErrorHandler::ServerErrorHandler
()
6
{
7
}
8
9
void
ServerErrorHandler::errorHandler(
int
severity,
int
code,
char
* msg)
10
{
11
std::cerr <<
'['
<<
DimError::toSeverity
(severity) <<
"] "
<<
DimError::toMsg
(code) << std::endl;
12
if
( msg != 0 ) {
13
std::cout <<
'['
<<
DimError::toSeverity
(severity) <<
"] "
<< msg << std::endl;
14
}
15
}
ServerErrorHandler::ServerErrorHandler
ServerErrorHandler()
Definition:
ServerErrorHandler.cxx:5
DimError::toMsg
const char * toMsg(int code)
Definition:
DistBoss/DistBossUtil/DistBossUtil-00-00-04/DistBossUtil/DimErrorMsg.h:21
DimError::toSeverity
const char * toSeverity(int severity)
Definition:
DistBoss/DistBossUtil/DistBossUtil-00-00-04/DistBossUtil/DimErrorMsg.h:8
source
DistBoss
DistBossServer
DistBossServer-00-00-04
src
ServerErrorHandler.cxx
Generated by
1.9.6