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

#include <GException.hpp>

Inheritance diagram for GException::csv_bad_columns:
GExceptionHandler

Public Member Functions

 csv_bad_columns (std::string origin, std::string filename, int rows, int cols, int elements, std::string message="")
 Bad CSV columns encountered. 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 724 of file GException.hpp.

Constructor & Destructor Documentation

GException::csv_bad_columns::csv_bad_columns ( std::string  origin,
std::string  filename,
int  row,
int  cols,
int  elements,
std::string  message = "" 
)

Bad CSV columns encountered.

Parameters
[in]originName of method that has thrown the exception.
[in]filenameFilename.
[in]rowCSV file row.
[in]colsExpected number of columns.
[in]elementsFound number of columns.
[in]messageOptional message.

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