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

#include <GException.hpp>

Inheritance diagram for GException::par_file_syntax_error:
GExceptionHandler

Public Member Functions

 par_file_syntax_error (const std::string &origin, const std::string &home, const std::string &message="")
 Syntax error encountered in parameter file line. 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 514 of file GException.hpp.

Constructor & Destructor Documentation

GException::par_file_syntax_error::par_file_syntax_error ( const std::string &  origin,
const std::string &  line,
const std::string &  message = "" 
)

Syntax error encountered in parameter file line.

Parameters
[in]originMethod that throws the error.
[in]lineParameter file line in which syntax error occured.
[in]messageOptional error message.

Definition at line 188 of file GException_app.cpp.

References GExceptionHandler::m_message, and GExceptionHandler::m_origin.


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