GammaLib
2.0.0.dev
|
#include <GException.hpp>
Public Member Functions | |
mem_alloc (std::string origin, unsigned num) | |
Memory allocation exception. More... | |
![]() | |
GExceptionHandler () | |
virtual | ~GExceptionHandler () throw () |
virtual const char * | what () const throw () |
Exception message. More... | |
Additional Inherited Members | |
![]() | |
std::string | m_origin |
std::string | m_message |
Definition at line 164 of file GException.hpp.
GException::mem_alloc::mem_alloc | ( | std::string | origin, |
unsigned | num | ||
) |
Memory allocation exception.
[in] | origin | Name of method that has thrown the exception. |
[in] | num | Requested amount of memory. |
Definition at line 320 of file GException.cpp.
References GExceptionHandler::m_message, GExceptionHandler::m_origin, and gammalib::str().