GammaLib
2.0.0.dev
|
#include <GLATException.hpp>
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 GLATExceptionHandler | |
GLATExceptionHandler (void) | |
virtual | ~GLATExceptionHandler (void) throw () |
virtual const char * | what () const throw () |
Exception message. More... | |
Additional Inherited Members | |
Protected Attributes inherited from GLATExceptionHandler | |
std::string | m_origin |
std::string | m_message |
Definition at line 62 of file GLATException.hpp.
GLATException::file_open_error::file_open_error | ( | std::string | origin, |
std::string | filename, | ||
std::string | message = "" |
||
) |
Error while opening file.
[in] | origin | Name of method that has thrown the exception. |
[in] | filename | Name of file that could not be opened. |
[in] | message | Optional error message. |
Definition at line 51 of file GLATException.cpp.
References GLATExceptionHandler::m_message, and GLATExceptionHandler::m_origin.