#include <iosfwd>#include <string>#include <vector>#include "Rtypes.h"#include "DatabaseInterface/DbiException.h"Go to the source code of this file.
Classes | |
| class | DbiExceptionLog |
| Concept An object that records database exceptions PurposeTo provide a place to record exceptions from the time they arise in the lower levels of the DBI and below until they can be analysed in the upper levels of the DBI and beyond More... | |
Functions | |
| std::ostream & | operator<< (std::ostream &s, const DbiExceptionLog &el) |
|
||||||||||||
|
Definition at line 50 of file DbiExceptionLog.cxx. References DbiExceptionLog::GetEntries(), and DbiExceptionLog::IsEmpty(). 00050 {
00051
00052 if ( el.IsEmpty() ) {
00053 os << "The database exception log is empty" << endl;
00054 }
00055 else {
00056 os << "Database exception log:-" << endl;
00057 std::vector<DbiException>::const_iterator itr(el.GetEntries().begin()),
00058 itrEnd(el.GetEntries().end());
00059 while ( itr != itrEnd ) {
00060 os << *itr << endl;
00061 ++itr;
00062 }
00063 }
00064
00065 return os;
00066
00067 }
|
1.3.9.1