27 #ifndef GCTAEXCEPTION_HPP
28 #define GCTAEXCEPTION_HPP
45 virtual const char*
what()
const throw();
65 std::string message =
"");
71 no_member(
const std::string& origin,
const std::string& message);
77 no_response(std::string origin, std::string message =
"");
81 no_pointing(std::string origin, std::string message =
"");
83 class no_sky :
public GCTAExceptionHandler {
85 no_sky(std::string origin, std::string message =
"");
87 class no_ebds :
public GCTAExceptionHandler {
89 no_ebds(std::string origin, std::string message =
"");
91 class no_gti :
public GCTAExceptionHandler {
93 no_gti(std::string origin, std::string message =
"");
97 no_energies(std::string origin, std::string message =
"");
99 class no_dirs :
public GCTAExceptionHandler {
101 no_dirs(std::string origin, std::string message =
"");
113 bad_roi_type(std::string origin, std::string message =
"");
132 std::string message =
"");
137 const std::string& message =
"");
146 std::string message =
"");
151 std::string message =
"");
virtual const char * what() const
Exception message.
Interface for CTA exceptions.
Interface for CTA exception handler.
virtual ~GCTAExceptionHandler(void)
GCTAExceptionHandler(void)