GENIEGenerator
Loading...
Searching...
No Matches
EVGThreadException.cxx
Go to the documentation of this file.
1//____________________________________________________________________________
2/*
3 Copyright (c) 2003-2025, The GENIE Collaboration
4 For the full text of the license visit http://copyright.genie-mc.org
5
6 Costas Andreopoulos <c.andreopoulos \at cern.ch>
7 University of Liverpool
8*/
9//____________________________________________________________________________
10
13
14using std::endl;
15using namespace genie::exceptions;
16
17//___________________________________________________________________________
18namespace genie {
19 namespace exceptions {
20 ostream & operator<< (ostream& stream, const EVGThreadException & exc)
21 {
22 exc.Print(stream);
23 return stream;
24 }
25 }
26}
27//___________________________________________________________________________
32//___________________________________________________________________________
37//___________________________________________________________________________
42//___________________________________________________________________________
44{
45 fReason = "";
46 fFastFwd = false;
47 fStepBack = false;
48 fReturnStep = 999999;
49}
50//___________________________________________________________________________
58//___________________________________________________________________________
59void EVGThreadException::Print(ostream & stream) const
60{
61 stream << "**EXCEPTION Reason: " << this->ShowReason() << endl;
62}
63//___________________________________________________________________________
void Copy(const EVGThreadException &exception)
GENIE-defined C++ exceptions.
ostream & operator<<(ostream &stream, const EVGThreadException &exc)
THE MAIN GENIE PROJECT NAMESPACE
Definition AlgCmp.h:25