GammaLib  2.0.0.dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
GCTAException::bad_roi_type Class Reference

#include <GCTAException.hpp>

Inheritance diagram for GCTAException::bad_roi_type:
GCTAExceptionHandler

Public Member Functions

 bad_roi_type (std::string origin, std::string message="")
 ROI is not a CTA ROI. More...
 
- Public Member Functions inherited from GCTAExceptionHandler
 GCTAExceptionHandler (void)
 
virtual ~GCTAExceptionHandler (void) throw ()
 
virtual const char * what () const throw ()
 Exception message. More...
 

Additional Inherited Members

- Protected Attributes inherited from GCTAExceptionHandler
std::string m_origin
 
std::string m_message
 

Detailed Description

Definition at line 111 of file GCTAException.hpp.

Constructor & Destructor Documentation

GCTAException::bad_roi_type::bad_roi_type ( std::string  origin,
std::string  message = "" 
)

ROI is not a CTA ROI.

Parameters
[in]originName of method that has thrown the exception.
[in]messageOptional error message.

Definition at line 248 of file GCTAException.cpp.

References GCTAExceptionHandler::m_message, and GCTAExceptionHandler::m_origin.


The documentation for this class was generated from the following files: