Class invalid_exception

Inheritance Relationships

Base Type

Class Documentation

class invalid_exception : public mxml::exception

If an invalid_exception is thrown, it means the XML document is not valid: it does not conform the DTD specified in the XML document. This is only thrown when validation is enabled.

The what() member of the exception object will contain an explanation.

Public Functions

inline invalid_exception(std::string msg)
inline ~invalid_exception() noexcept