SyntaxError Class Reference

#include <Pt/Xml/XmlError.h>

Indicates XML syntax errors.

Inherits XmlError.

Public Member Functions

 SyntaxError (const std::string &what, std::size_t line)
 Construct with message and line number.
 
 SyntaxError (const char *what, std::size_t line)
 Construct with message and line number.
 
 ~SyntaxError () throw ()
 Destructor.
 
std::size_t line () const
 Line count where the error in the document occured.