1/* Copyright 2003-2023 Joaquin M Lopez Munoz.
2 * Distributed under the Boost Software License, Version 1.0.
3 * (See accompanying file LICENSE_1_0.txt or copy at
4 * http://www.boost.org/LICENSE_1_0.txt)
5 *
6 * See http://www.boost.org/libs/multi_index for library home page.
7 */
8
9#ifndef BOOST_MULTI_INDEX_DETAIL_BAD_ARCHIVE_EXCEPTION_HPP
10#define BOOST_MULTI_INDEX_DETAIL_BAD_ARCHIVE_EXCEPTION_HPP
11
12#if defined(_MSC_VER)
13#pragma once
14#endif
15
16#include <boost/config.hpp> /* keep it first to prevent nasty warns in MSVC */
17#include <stdexcept>
18
19namespace boost{
20
21namespace multi_index{
22
23namespace detail{
24
25struct bad_archive_exception:std::runtime_error
26{
27 bad_archive_exception():std::runtime_error("Invalid or corrupted archive"){}
28};
29
30} /* namespace multi_index::detail */
31
32} /* namespace multi_index */
33
34} /* namespace boost */
35
36#endif
37