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

#include <GMWLException.hpp>

Inheritance diagram for GMWLException::file_open_error:
GMWLExceptionHandler

Public Member Functions

 file_open_error (std::string origin, std::string filename, std::string message="")
 Error while opening file. More...
 
- Public Member Functions inherited from GMWLExceptionHandler
 GMWLExceptionHandler (void)
 
virtual ~GMWLExceptionHandler (void) throw ()
 
virtual const char * what () const throw ()
 Exception message. More...
 

Additional Inherited Members

- Protected Attributes inherited from GMWLExceptionHandler
std::string m_origin
 
std::string m_message
 

Detailed Description

Definition at line 62 of file GMWLException.hpp.

Constructor & Destructor Documentation

GMWLException::file_open_error::file_open_error ( std::string  origin,
std::string  filename,
std::string  message = "" 
)

Error while opening file.

Parameters
[in]originName of method that has thrown the exception.
[in]filenameName of file that could not be opened.
[in]messageOptional error message.

Definition at line 52 of file GMWLException.cpp.

References GMWLExceptionHandler::m_message, and GMWLExceptionHandler::m_origin.


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