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

#include <GException.hpp>

Inheritance diagram for GException::skymap_bad_size:

Public Member Functions

 skymap_bad_size (std::string origin, int size, int expected, std::string message="")
 Incompatible data size. 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 417 of file GException.hpp.

Constructor & Destructor Documentation

GException::skymap_bad_size::skymap_bad_size ( std::string  origin,
int  size,
int  expected,
std::string  message = "" 

Incompatible data size.

[in]originMethod that throws the error.
[in]sizeEncountered data size.
[in]expectedExpected data size.
[in]messageError message.

Definition at line 81 of file GException_sky.cpp.

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

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