Classes | Functions
genie::exceptions Namespace Reference

GENIE-defined C++ exceptions. More...

Classes

class  EVGThreadException
 An exception thrown by EventRecordVisitorI when the normal processing sequence has to be disrupted (fast-fwd at the end or step-back) More...
 
class  InteractionException
 Exception used inside Interaction classes. More...
 
class  INukeException
 An exception thrown by SimulateHadronState for kinematics problems. TwoBodyCollision/Kinematics used a lot, has various failure modes. When failure occurs in HAIntranuke, rechoose the fate. More...
 
class  NievesQELException
 An exception thrown by NievesQELCCPXSec for kinematics problems. When failure occurs, set xsec = 0. More...
 

Functions

ostream & operator<< (ostream &stream, const EVGThreadException &exc)
 
ostream & operator<< (ostream &stream, const INukeException &exc)
 
ostream & operator<< (ostream &stream, const NievesQELException &exc)
 

Detailed Description

GENIE-defined C++ exceptions.

Function Documentation

ostream& genie::exceptions::operator<< ( ostream &  stream,
const EVGThreadException exc 
)

Definition at line 26 of file EVGThreadException.cxx.

References genie::exceptions::EVGThreadException::Print(), and runNovaSAM::stream.

27  {
28  exc.Print(stream);
29  return stream;
30  }
void Print(ostream &stream) const
ostream& genie::exceptions::operator<< ( ostream &  stream,
const INukeException exc 
)

Definition at line 31 of file INukeException.cxx.

References genie::exceptions::INukeException::Print(), and runNovaSAM::stream.

32  {
33  exc.Print(stream);
34  return stream;
35  }
void Print(ostream &stream) const
ostream& genie::exceptions::operator<< ( ostream &  stream,
const NievesQELException exc 
)

Definition at line 34 of file NievesQELException.cxx.

References genie::exceptions::NievesQELException::Print(), and runNovaSAM::stream.

35  {
36  exc.Print(stream);
37  return stream;
38  }
void Print(ostream &stream) const