1// runtime_error.hpp
2// Copyright (c) 2007-2009 Ben Hanson (http://www.benhanson.net/)
3//
4// Distributed under the Boost Software License, Version 1.0. (See accompanying
5// file licence_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
6#ifndef BOOST_SPIRIT_SUPPORT_DETAIL_LEXER_RUNTIME_ERROR_HPP
7#define BOOST_SPIRIT_SUPPORT_DETAIL_LEXER_RUNTIME_ERROR_HPP
8
9#include <boost/config.hpp> // for BOOST_SYMBOL_VISIBLE
10#include <stdexcept>
11
12namespace boost
13{
14namespace lexer
15{
16class BOOST_SYMBOL_VISIBLE runtime_error : public std::runtime_error
17{
18public:
19 runtime_error (const std::string &what_arg_) :
20 std::runtime_error (what_arg_)
21 {
22 }
23};
24}
25}
26
27#endif
28

source code of boost/libs/spirit/include/boost/spirit/home/support/detail/lexer/runtime_error.hpp