GENIEGenerator
Loading...
Searching...
No Matches
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

◆ operator<<() [1/3]

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

Definition at line 20 of file EVGThreadException.cxx.

21 {
22 exc.Print(stream);
23 return stream;
24 }

◆ operator<<() [2/3]

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

Definition at line 31 of file INukeException.cxx.

32 {
33 exc.Print(stream);
34 return stream;
35 }
void Print(ostream &stream) const

◆ operator<<() [3/3]

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

Definition at line 23 of file NievesQELException.cxx.

24 {
25 exc.Print(stream);
26 return stream;
27 }