]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
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_LEXER_RUNTIME_ERROR_HPP | |
7 | #define BOOST_LEXER_RUNTIME_ERROR_HPP | |
8 | ||
9 | #include <stdexcept> | |
10 | ||
11 | namespace boost | |
12 | { | |
13 | namespace lexer | |
14 | { | |
15 | class runtime_error : public std::runtime_error | |
16 | { | |
17 | public: | |
18 | runtime_error (const std::string &what_arg_) : | |
19 | std::runtime_error (what_arg_) | |
20 | { | |
21 | } | |
22 | }; | |
23 | } | |
24 | } | |
25 | ||
26 | #endif |