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

#include <GException.hpp>

Inheritance diagram for GException::xml_syntax_error:
GExceptionHandler

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
 

Detailed Description

Definition at line 603 of file GException.hpp.

Constructor & Destructor Documentation

GException::xml_syntax_error::xml_syntax_error ( std::string  origin,
std::string  segment,
std::string  message = "" 
)

XML syntax error.

Parameters
[in]originMethod that throws the error.
[in]segmentXML segment for which syntax error was encountered.
[in]messageOptional error message.

Definition at line 42 of file GException_xml.cpp.

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


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