xmlwrapp
Lightweight C++ XML parsing library
Public Member Functions | List of all members
xml::error_handler_throw_on_error Class Reference

Specialization of error_handler that throws on any error. More...

#include <errors.h>

+ Inheritance diagram for xml::error_handler_throw_on_error:
+ Collaboration diagram for xml::error_handler_throw_on_error:

Public Member Functions

void on_error (const std::string &msg)
 Called by xmlwrapp to report an error. More...
 
void on_warning (const std::string &)
 Called by xmlwrapp to report a warning. More...
 

Detailed Description

Specialization of error_handler that throws on any error.

See also
throw_on_error

Member Function Documentation

◆ on_error()

void xml::error_handler_throw_on_error::on_error ( const std::string &  msg)
inlinevirtual

Called by xmlwrapp to report an error.

Implements xml::error_handler.

◆ on_warning()

void xml::error_handler_throw_on_error::on_warning ( const std::string &  msg)
inlinevirtual

Called by xmlwrapp to report a warning.

Implements xml::error_handler.

Reimplemented in xml::error_handler_throw_on_error_or_warning.


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