60 virtual const char*
what()
const throw();
85 const std::string& message);
92 const std::string& message);
94 const std::string& argument,
95 const std::string& message);
102 const std::string& message);
109 const std::string&
what,
112 const std::string& message =
"");
120 const std::string& message =
"");
130 const std::string& message =
"");
141 const std::string& message =
"");
148 const std::string& message =
"");
158 const std::string& message =
"");
165 const std::string& message =
"");
172 const std::string& message =
"");
Class that handles energies in a unit independent way.
Interface for exception handler.
GExceptionHandler()
Void constructor.
virtual const char * what() const
Exception message.
virtual ~GExceptionHandler()
Destructor.
std::string m_message
Exception message.
char * m_str
Message returned by what()
std::string m_origin
Method that threw exception.
feature_not_implemented(const std::string &origin, const std::string &message="")
Feature not implement.
file_error(const std::string &origin, const std::string &message="")
File error.
fits_error(const std::string &origin, const int &status, const std::string &message="")
General FITS error.
invalid_argument(const std::string &origin, const std::string &message)
Invalid argument.
invalid_return_value(const std::string &origin, const std::string &message)
Invalid return value.
invalid_value(const std::string &origin, const std::string &message)
Invalid value.
out_of_range(const std::string &origin, const std::string &what, const int &index, const int &elements, const std::string &message="")
Index is out of range [0,elements-1].
runtime_error(const std::string &origin, const std::string &message="")
Runtime error.
test_error(const std::string &origin, const std::string &message="")
Failure test.
test_failure(const std::string &origin, const std::string &message="")
Failure test.
test_nested_try_error(const std::string &origin, const std::string &message="")
Test nested try error.
Interface for exceptions.
void check_energy_interval(const std::string &origin, const GEnergy &emin, const GEnergy &emax)
Checks energy interval.
std::string number(const std::string &noun, const int &number)
Convert singular noun into number noun.
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.