cxxtools::xml::XmlError Class Reference

Exception that is thrown when a parse error occured. More...

#include <cxxtools/xml/xmlerror.h>

Inheritance diagram for cxxtools::xml::XmlError:
cxxtools::xml::XmlNoDocument cxxtools::xml::XmlUnexpectedEndOfDocument

Public Member Functions

 XmlError (const std::string &what, unsigned line)
 Creates a new ParseError object using the given reason and source info.
unsigned line () const

Detailed Description

Exception that is thrown when a parse error occured.

Constructor & Destructor Documentation

cxxtools::xml::XmlError::XmlError ( const std::string &  what,
unsigned  line 
)

Creates a new ParseError object using the given reason and source info.

Parameters
whatThe reason of the parse error.
infoSource info containing information about where the exception occured.

Member Function Documentation

unsigned cxxtools::xml::XmlError::line ( ) const
inline

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