18#ifndef INTERACTIONEXCEPTION_H_
19#define INTERACTIONEXCEPTION_H_
36 void Print (std::ostream & stream)
const;
40 const char *
what ()
const throw() {
return this->
fReason.c_str(); };
std::ostream & operator<<(std::ostream &stream, const genie::exceptions::InteractionException &exc)
Exception used inside Interaction classes.
friend std::ostream & operator<<(std::ostream &stream, const InteractionException &exception)
const std::string & ShowReason() const
void Print(std::ostream &stream) const
const char * what() const
GENIE-defined C++ exceptions.
THE MAIN GENIE PROJECT NAMESPACE