GammaLib
2.0.0.dev
|
#include <GException.hpp>
Public Member Functions | |
xml_syntax_error (std::string origin, std::string segment, std::string message="") | |
XML syntax error. 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 |
Definition at line 603 of file GException.hpp.
GException::xml_syntax_error::xml_syntax_error | ( | std::string | origin, |
std::string | segment, | ||
std::string | message = "" |
||
) |
XML syntax error.
[in] | origin | Method that throws the error. |
[in] | segment | XML segment for which syntax error was encountered. |
[in] | message | Optional error message. |
Definition at line 42 of file GException_xml.cpp.
References GExceptionHandler::m_message, and GExceptionHandler::m_origin.