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

#include <GException.hpp>

Inheritance diagram for GException::matrix_mismatch:
GExceptionHandler

Public Member Functions

 matrix_mismatch (std::string origin, int rows1, int cols1, int rows2, int cols2)
 Mismatch between matrices. 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 232 of file GException.hpp.

Constructor & Destructor Documentation

GException::matrix_mismatch::matrix_mismatch ( std::string  origin,
int  rows1,
int  cols1,
int  rows2,
int  cols2 
)

Mismatch between matrices.

Parameters
[in]originMethod throwing the exception.
[in]rows1Number of rows in first matrix.
[in]cols1Number of columns in first matrix.
[in]rows2Number of rows in second matrix.
[in]cols2Number of columns in second matrix.

Definition at line 239 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: