Imported Upstream version 2.91.2
[platform/upstream/libxml++.git] / libxml++ / exceptions / parse_error.cc
1 #include "parse_error.h"
2
3 namespace xmlpp {
4
5 parse_error::parse_error(const Glib::ustring& message)
6 : exception(message)
7 {
8 }
9
10 parse_error::~parse_error() noexcept
11 {}
12
13 void parse_error::raise() const
14 {
15   throw *this;
16 }
17
18 exception* parse_error::clone() const
19 {
20   return new parse_error(*this);
21 }
22
23 } //namespace xmlpp