Loading [MathJax]/extensions/tex2jax.js
The Gaudi Framework  v31r0 (aeb156f0)
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
GaudiException.h File Reference
#include "GaudiKernel/Kernel.h"
#include "GaudiKernel/MsgStream.h"
#include "GaudiKernel/StatusCode.h"
#include <exception>
#include <iostream>
#include <string>
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)
 overloaded printout to std::ostream More...
 
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 73 of file GaudiException.cpp.

73 { return ge.printOut( os ); }
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 
)

overloaded printout to std::ostream

Definition at line 75 of file GaudiException.cpp.

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

overloaded printout to MsgStream

Definition at line 79 of file GaudiException.cpp.

79 { return ge.printOut( os ); }
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 81 of file GaudiException.cpp.

81  {
82  return ( 0 == pge ) ? ( os << " GaudiException* points to NULL!" ) : ( os << *pge );
83 }