GammaLib  2.0.0.dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
GException::vector_mismatch Class Reference

#include <GException.hpp>

Inheritance diagram for GException::vector_mismatch:
GExceptionHandler

Public Member Functions

 vector_mismatch (std::string origin, int size1, int size2)
 Vector dimensions differ. 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 214 of file GException.hpp.

Constructor & Destructor Documentation

GException::vector_mismatch::vector_mismatch ( std::string  origin,
int  size1,
int  size2 
)

Vector dimensions differ.

Parameters
[in]originMethod throwing the exception.
[in]size1Size of first vector.
[in]size2Size of second vector.

Definition at line 168 of file GException_linalg.cpp.

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


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