Imported Upstream version 2.91.2
[platform/upstream/libxml++.git] / libxml++ / exceptions / validity_error.cc
index b0fdc24..81006b6 100644 (file)
@@ -10,4 +10,14 @@ validity_error::validity_error(const Glib::ustring& message)
 validity_error::~validity_error() noexcept
 {}
 
+void validity_error::raise() const
+{
+  throw *this;
+}
+
+exception* validity_error::clone() const
+{
+  return new validity_error(*this);
+}
+
 } //namespace xmlpp