All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
GException::mem_alloc Class Reference

#include <GException.hpp>

Inheritance diagram for GException::mem_alloc:

Public Member Functions

 mem_alloc (std::string origin, unsigned num)
 Memory allocation exception. More...
- Public Member Functions inherited from GExceptionHandler
 GExceptionHandler ()
virtual ~GExceptionHandler () throw ()
virtual const char * what () const throw ()
 Exception message. More...

Additional Inherited Members

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

Detailed Description

Definition at line 164 of file GException.hpp.

Constructor & Destructor Documentation

GException::mem_alloc::mem_alloc ( std::string  origin,
unsigned  num 

Memory allocation exception.

[in]originName of method that has thrown the exception.
[in]numRequested amount of memory.

Definition at line 320 of file GException.cpp.

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

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