#include <DbiExceptionLog.h>
Collaboration diagram for DbiExceptionLog:
Public Member Functions | |
DbiExceptionLog (const DbiException *e=0) | |
virtual | ~DbiExceptionLog () |
Bool_t | IsEmpty () const |
const std::vector< DbiException > & | GetEntries () const |
void | Print () const |
UInt_t | Size () const |
void | Copy (DbiExceptionLog &that, UInt_t start=0) const |
void | AddLog (const DbiExceptionLog &el) |
void | AddEntry (const DbiException &e) |
void | AddEntry (const char *errMsg, Int_t code=-1, Int_t dbType=-1) |
void | AddEntry (const std::string &errMsg, Int_t code=-1, Int_t dbType=-1) |
void | AddEntry (const TSQLServer &server, Int_t dbType=-1) |
void | AddEntry (const TSQLStatement &statement, Int_t dbType=-1) |
void | Clear () |
Static Public Member Functions | |
static DbiExceptionLog & | GetGELog () |
Private Attributes | |
std::vector< DbiException > | fEntries |
The exception entries. | |
Static Private Attributes | |
static DbiExceptionLog | fgGELog |
Global Exception Log. |
Definition at line 44 of file DbiExceptionLog.h.
DbiExceptionLog::DbiExceptionLog | ( | const DbiException * | e = 0 |
) |
virtual DbiExceptionLog::~DbiExceptionLog | ( | ) | [virtual] |
Bool_t DbiExceptionLog::IsEmpty | ( | ) | const [inline] |
const std::vector<DbiException>& DbiExceptionLog::GetEntries | ( | ) | const [inline] |
void DbiExceptionLog::Print | ( | ) | const |
UInt_t DbiExceptionLog::Size | ( | ) | const [inline] |
void DbiExceptionLog::Copy | ( | DbiExceptionLog & | that, | |
UInt_t | start = 0 | |||
) | const |
void DbiExceptionLog::AddLog | ( | const DbiExceptionLog & | el | ) |
void DbiExceptionLog::AddEntry | ( | const DbiException & | e | ) | [inline] |
void DbiExceptionLog::AddEntry | ( | const char * | errMsg, | |
Int_t | code = -1 , |
|||
Int_t | dbType = -1 | |||
) | [inline] |
Definition at line 65 of file DbiExceptionLog.h.
00065 { 00066 this->AddEntry(DbiException(errMsg,code,dbType));}
void DbiExceptionLog::AddEntry | ( | const std::string & | errMsg, | |
Int_t | code = -1 , |
|||
Int_t | dbType = -1 | |||
) | [inline] |
Definition at line 67 of file DbiExceptionLog.h.
00067 { 00068 this->AddEntry(DbiException(errMsg.c_str(),code,dbType));}
void DbiExceptionLog::AddEntry | ( | const TSQLServer & | server, | |
Int_t | dbType = -1 | |||
) | [inline] |
Definition at line 69 of file DbiExceptionLog.h.
00069 { 00070 this->AddEntry(DbiException(server,dbType));}
void DbiExceptionLog::AddEntry | ( | const TSQLStatement & | statement, | |
Int_t | dbType = -1 | |||
) | [inline] |
Definition at line 71 of file DbiExceptionLog.h.
00071 { 00072 this->AddEntry(DbiException(statement,dbType));}
void DbiExceptionLog::Clear | ( | ) | [inline] |
static DbiExceptionLog& DbiExceptionLog::GetGELog | ( | ) | [inline, static] |
std::vector<DbiException> DbiExceptionLog::fEntries [private] |
DbiExceptionLog DbiExceptionLog::fgGELog [static, private] |