All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
GExceptionHandler Class Reference

Interface for exception handler. More...

#include <GException.hpp>

Inheritance diagram for GExceptionHandler:
GException GException::feature_not_implemented GException::file_error GException::fits_error GException::invalid_argument GException::invalid_return_value GException::invalid_value GException::out_of_range GException::runtime_error GException::test_error GException::test_failure GException::test_nested_try_error

Public Member Functions

 GExceptionHandler ()
virtual ~GExceptionHandler () throw ()
virtual const char * what () const throw ()
 Exception message. More...

Protected Attributes

std::string m_origin
std::string m_message

Detailed Description

Interface for exception handler.

Definition at line 56 of file GException.hpp.

Constructor & Destructor Documentation

GExceptionHandler::GExceptionHandler ( )

Definition at line 58 of file GException.hpp.

virtual GExceptionHandler::~GExceptionHandler ( )
throw (

Definition at line 59 of file GException.hpp.

Member Function Documentation

const char * GExceptionHandler::what ( ) const
throw (

Exception message.

Definition at line 37 of file GException.cpp.

References m_message, m_origin, and gammalib::tochar().

Referenced by GApplicationPars::parse().

Member Data Documentation

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