GammaLib 2.0.0
Loading...
Searching...
No Matches
GException::runtime_error Class Reference

#include <GException.hpp>

Inheritance diagram for GException::runtime_error:
GExceptionHandler

Public Member Functions

 runtime_error (const std::string &origin, const std::string &message="")
 Runtime error.
 
- Public Member Functions inherited from GExceptionHandler
 GExceptionHandler ()
 
virtual ~GExceptionHandler () throw ()
 
virtual const char * what () const throw ()
 Exception message.
 

Additional Inherited Members

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

Detailed Description

Definition at line 126 of file GException.hpp.

Constructor & Destructor Documentation

◆ runtime_error()

GException::runtime_error::runtime_error ( const std::string & origin,
const std::string & message = "" )

Runtime error.

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

Definition at line 193 of file GException.cpp.

References GExceptionHandler::m_message, and GExceptionHandler::m_origin.


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