xml_parser_error.hpp 1014 B

123456789101112131415161718192021222324252627282930313233
  1. // ----------------------------------------------------------------------------
  2. // Copyright (C) 2002-2006 Marcin Kalicinski
  3. //
  4. // Distributed under the Boost Software License, Version 1.0.
  5. // (See accompanying file LICENSE_1_0.txt or copy at
  6. // http://www.boost.org/LICENSE_1_0.txt)
  7. //
  8. // For more information, see www.boost.org
  9. // ----------------------------------------------------------------------------
  10. #ifndef BOOST_PROPERTY_TREE_DETAIL_XML_PARSER_ERROR_HPP_INCLUDED
  11. #define BOOST_PROPERTY_TREE_DETAIL_XML_PARSER_ERROR_HPP_INCLUDED
  12. #include <boost/property_tree/detail/file_parser_error.hpp>
  13. #include <string>
  14. namespace boost { namespace property_tree { namespace xml_parser
  15. {
  16. //! Xml parser error
  17. class xml_parser_error: public file_parser_error
  18. {
  19. public:
  20. xml_parser_error(const std::string &msg,
  21. const std::string &file,
  22. unsigned long l):
  23. file_parser_error(msg, file, l)
  24. {
  25. }
  26. };
  27. } } }
  28. #endif