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

#include <GException.hpp>

Inheritance diagram for GException::vector_bad_cross_dim:
GExceptionHandler

Public Member Functions

 vector_bad_cross_dim (std::string origin, int elements)
 Invalid vector dimension for cross product. 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 220 of file GException.hpp.

Constructor & Destructor Documentation

GException::vector_bad_cross_dim::vector_bad_cross_dim ( std::string  origin,
int  elements 
)

Invalid vector dimension for cross product.

Parameters
[in]originMethod throwing the exception.
[in]elementsSize of vector.

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