Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

DbiException.h File Reference

#include <iosfwd>
#include <string>
#include "Rtypes.h"

Go to the source code of this file.

Classes

class  DbiException
 Concept An object that records a single database exception. PurposeTo provide a place to record an exception. Currently ROOT's SQL package does not have a class for this information, instead it is embedded in TSQLServer and TSQStatement. More...

Functions

std::ostream & operator<< (std::ostream &s, const DbiException &e)


Function Documentation

std::ostream& operator<< std::ostream &  s,
const DbiException e
 

Definition at line 95 of file DbiException.cxx.

References DbiException::GetDbType(), DbiException::GetErrorCode(), and DbiException::GetMessage().

00095                                                               {
00096 
00097   os << "Error " << e.GetErrorCode() 
00098      << " (" << e.GetMessage() << ") from DB type " << e.GetDbType() << endl;
00099   return os;
00100 
00101 }


Generated on Mon Feb 15 11:07:56 2010 for loon by  doxygen 1.3.9.1