X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;f=src%2Frouter_flexml.hpp;h=14e368c17ca2a12fd82a07278a3e154c7517be92;hb=a7bb1a7f8f0c91fa5bc74f712b3e00cb962a0263;hp=1eae3e8c477c7bfa0db9594ae02d1c64f4f73ebc;hpb=5cc9145ea95e0a778bef7ad2a0ea9c1a4824bcc4;p=metaproxy-moved-to-github.git diff --git a/src/router_flexml.hpp b/src/router_flexml.hpp index 1eae3e8..14e368c 100644 --- a/src/router_flexml.hpp +++ b/src/router_flexml.hpp @@ -1,4 +1,4 @@ -/* $Id: router_flexml.hpp,v 1.6 2005-11-10 23:10:42 adam Exp $ +/* $Id: router_flexml.hpp,v 1.7 2005-12-08 15:34:08 adam Exp $ Copyright (c) 2005, Index Data. %LICENSE% @@ -22,6 +22,11 @@ namespace yp2 virtual const filter::Base *move(const filter::Base *filter, const Package *package) const; + class XMLError : public std::runtime_error { + public: + XMLError(const std::string msg) : + std::runtime_error("XMLError : " + msg) {} ; + }; private: boost::scoped_ptr m_p; };