5#ifndef IOVSVC_IOVCALLBACKERROR_H
6#define IOVSVC_IOVCALLBACKERROR_H 1
8#include "GaudiKernel/MsgStream.h"
16 friend inline std::ostream&
operator<< ( std::ostream& os ,
18 friend inline std::ostream&
operator<< ( std::ostream& os ,
20 friend inline MsgStream&
operator<< ( MsgStream& os ,
22 friend inline MsgStream&
operator<< ( MsgStream& os ,
31 virtual const std::string&
source()
const {
35 virtual std::ostream&
printOut( std::ostream& os = std::cerr )
const {
36 os <<
"IOVCallbackError generated by " <<
source();
40 virtual MsgStream&
printOut( MsgStream& os )
const {
41 os <<
"IOVCallbackError generated by " <<
source();
46 virtual const char*
what ()
const throw() {
return source().c_str() ; }
58 ( os <<
" IOVCallbackError* points to NULL!" ) : ( os << *pge ); }
67 ( os <<
" IOVCallbackError* points to NULL!" ) : ( os << *pge );
std::ostream & operator<<(std::ostream &os, const IOVCallbackError &ge)
overloaded printout to std::ostream
virtual ~IOVCallbackError()
virtual const std::string & source() const
friend std::ostream & operator<<(std::ostream &os, const IOVCallbackError &ge)
overloaded printout to std::ostream
virtual std::ostream & printOut(std::ostream &os=std::cerr) const
virtual const char * what() const
method from std::exception
virtual MsgStream & printOut(MsgStream &os) const
IOVCallbackError(const std::string &source)