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

#include <GCTAException.hpp>

Inheritance diagram for GCTAException::bad_rsp_table_dim:
GCTAExceptionHandler

Public Member Functions

 bad_rsp_table_dim (std::string origin, int table_dim, int expected_dim, std::string message="")
 Bad response table dimension. 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 141 of file GCTAException.hpp.

Constructor & Destructor Documentation

GCTAException::bad_rsp_table_dim::bad_rsp_table_dim ( std::string  origin,
int  found,
int  expected,
std::string  message = "" 
)

Bad response table dimension.

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

Definition at line 399 of file GCTAException.cpp.

References GCTAExceptionHandler::m_message, GCTAExceptionHandler::m_origin, and gammalib::str().


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