GaudiException.h File Reference
#include "GaudiKernel/Kernel.h"
#include "GaudiKernel/StatusCode.h"
#include "GaudiKernel/MsgStream.h"
#include "GaudiKernel/System.h"
#include <string>
#include <iostream>
#include <exception>
Include dependency graph for GaudiException.h:

Go to the source code of this file.

Classes

class  GaudiException
 Define general base for Gaudi exception. More...
 

Functions

std::ostreamoperator<< (std::ostream &os, const GaudiException &ge)
 overloaded printout to std::ostream More...
 
std::ostreamoperator<< (std::ostream &os, const GaudiException *pge)
 
MsgStreamoperator<< (MsgStream &os, const GaudiException &ge)
 overloaded printout to MsgStream More...
 
MsgStreamoperator<< (MsgStream &os, const GaudiException *pge)
 overloaded printout to MsgStream More...
 

Function Documentation

std::ostream& operator<< ( std::ostream os,
const GaudiException ge 
)

overloaded printout to std::ostream

Definition at line 173 of file GaudiException.h.

173  {
174  return ge.printOut( os );
175 }
virtual std::ostream & printOut(std::ostream &os=std::cerr) const
methods for overloaded printout to std::ostream& and MsgStream&
std::ostream& operator<< ( std::ostream os,
const GaudiException pge 
)

Definition at line 176 of file GaudiException.h.

177 { return (0 == pge) ?
178  ( os << " GaudiException* points to NULL!" ) : ( os << *pge ); }
MsgStream& operator<< ( MsgStream os,
const GaudiException ge 
)

overloaded printout to MsgStream

Definition at line 181 of file GaudiException.h.

181  {
182  return ge.printOut( os );
183 }
virtual std::ostream & printOut(std::ostream &os=std::cerr) const
methods for overloaded printout to std::ostream& and MsgStream&
MsgStream& operator<< ( MsgStream os,
const GaudiException pge 
)

overloaded printout to MsgStream

Definition at line 185 of file GaudiException.h.

185  {
186  return (0 == pge) ?
187  ( os << " GaudiException* points to NULL!" ) : ( os << *pge );
188 }