|
||||
File indexing completed on 2025-01-30 09:33:00
0001 #ifndef BOOST_ARCHIVE_ITERATORS_XML_UNESCAPE_EXCEPTION_HPP 0002 #define BOOST_ARCHIVE_ITERATORS_XML_UNESCAPE_EXCEPTION_HPP 0003 0004 // MS compatible compilers support #pragma once 0005 #if defined(_MSC_VER) 0006 # pragma once 0007 #endif 0008 0009 /////////1/////////2/////////3/////////4/////////5/////////6/////////7/////////8 0010 // xml_unescape_exception.hpp: 0011 0012 // (C) Copyright 2002 Robert Ramey - http://www.rrsd.com . 0013 // Use, modification and distribution is subject to the Boost Software 0014 // License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at 0015 // http://www.boost.org/LICENSE_1_0.txt) 0016 0017 // See http://www.boost.org for updates, documentation, and revision history. 0018 0019 #include <boost/config.hpp> 0020 #ifndef BOOST_NO_EXCEPTIONS 0021 #include <exception> 0022 0023 #include <boost/assert.hpp> 0024 0025 namespace boost { 0026 namespace archive { 0027 namespace iterators { 0028 0029 ////////////////////////////////////////////////////////////////////// 0030 // exceptions thrown by xml_unescapes 0031 // 0032 class xml_unescape_exception : public std::exception 0033 { 0034 public: 0035 xml_unescape_exception() 0036 {} 0037 0038 virtual const char *what( ) const BOOST_NOEXCEPT_OR_NOTHROW 0039 { 0040 return "xml contained un-recognized escape code"; 0041 } 0042 }; 0043 0044 } // namespace iterators 0045 } // namespace archive 0046 } // namespace boost 0047 0048 #endif //BOOST_NO_EXCEPTIONS 0049 #endif //BOOST_ARCHIVE_ITERATORS_XML_UNESCAPE_EXCEPTION_HPP
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |