GENIEGenerator
Loading...
Searching...
No Matches
NievesQELException.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 Steve Dytman <dytman \at pitt.edu>
7 Univ. of Pittsburgh
8
9 Joe Johnston <jpj13 \at pitt.edu>
10 Univ. of Pittsburgh
11*/
12//____________________________________________________________________________
13
16
17using std::endl;
18using namespace genie::exceptions;
19
20//___________________________________________________________________________
21namespace genie {
22 namespace exceptions {
23 ostream & operator<< (ostream& stream, const NievesQELException & exc)
24 {
25 exc.Print(stream);
26 return stream;
27 }
28 }
29}
30//___________________________________________________________________________
35//___________________________________________________________________________
40//___________________________________________________________________________
45//___________________________________________________________________________
47{
48 fReason = "";
49}
50//___________________________________________________________________________
52{
53 fReason = exc.fReason;
54}
55//___________________________________________________________________________
56void NievesQELException::Print(ostream & stream) const
57{
58 stream << "**EXCEPTION Reason: " << this->ShowReason() << endl;
59}
60//___________________________________________________________________________
void Copy(const NievesQELException &exception)
GENIE-defined C++ exceptions.
ostream & operator<<(ostream &stream, const EVGThreadException &exc)
THE MAIN GENIE PROJECT NAMESPACE
Definition AlgCmp.h:25