29 #ifndef Pt_Xml_XmlError_h
30 #define Pt_Xml_XmlError_h
32 #include <Pt/Xml/Api.h>
43 class PT_XML_API
XmlError :
public std::runtime_error
48 explicit XmlError(
const std::string& what);
67 SyntaxError(
const std::string& what, std::size_t line);
91 #endif // Pt_Xml_XmlError_h
Indicates XML syntax errors.
Definition: XmlError.h:62
~XmlError()
Destructor.
Definition: XmlError.h:56
std::size_t line() const
Line count where the error in the document occured.
Definition: XmlError.h:80
~SyntaxError()
Destructor.
Definition: XmlError.h:75
Exception during XML processing.
Definition: XmlError.h:43