27 #ifndef GEXCEPTION_HPP
28 #define GEXCEPTION_HPP
60 virtual const char*
what()
const throw();
84 const std::string& message);
91 const std::string& message);
93 const std::string& argument,
94 const std::string& message);
101 const std::string& message);
108 const std::string&
what,
111 const std::string& message =
"");
119 const std::string& message =
"");
129 const std::string& message =
"");
140 const std::string& message =
"");
147 const std::string& message =
"");
157 const std::string& message =
"");
164 const std::string& message =
"");
171 const std::string& message =
"");
std::string number(const std::string &noun, const int &number)
Convert singular noun into number noun.
virtual ~GExceptionHandler()
Interface for exception handler.
void check_energy_interval(const std::string &origin, const GEnergy &emin, const GEnergy &emax)
Checks energy interval.
virtual const char * what() const
Exception message.
void check_prj_s2x_status(const std::string &origin, const int &status, const int &number)
Checks status of GWcs::prj_s2x method.
void check_prj_x2s_status(const std::string &origin, const int &status, const int &number)
Checks status of GWcs::prj_x2s method.
Class that handles energies in a unit independent way.
Interface for exceptions.