]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/geometry/include/boost/geometry/algorithms/detail/overlay/inconsistent_turns_exception.hpp
bump version to 12.2.2-pve1
[ceph.git] / ceph / src / boost / libs / geometry / include / boost / geometry / algorithms / detail / overlay / inconsistent_turns_exception.hpp
1 // Boost.Geometry (aka GGL, Generic Geometry Library)
2
3 // Copyright (c) 2014-2015, Oracle and/or its affiliates.
4
5 // Licensed under the Boost Software License version 1.0.
6 // http://www.boost.org/users/license.html
7
8 // Contributed and/or modified by Menelaos Karavelas, on behalf of Oracle
9
10 #ifndef BOOST_GEOMETRY_ALGORITHMS_DETAIL_OVERLAY_INCONSISTENT_TURNS_EXCEPTION_HPP
11 #define BOOST_GEOMETRY_ALGORITHMS_DETAIL_OVERLAY_INCONSISTENT_TURNS_EXCEPTION_HPP
12
13 #if ! defined(BOOST_GEOMETRY_OVERLAY_NO_THROW)
14 #include <boost/geometry/core/exception.hpp>
15
16 namespace boost { namespace geometry
17 {
18
19 class inconsistent_turns_exception : public geometry::exception
20 {
21 public:
22
23 inline inconsistent_turns_exception() {}
24
25 virtual ~inconsistent_turns_exception() throw()
26 {}
27
28 virtual char const* what() const throw()
29 {
30 return "Boost.Geometry Inconsistent Turns exception";
31 }
32 };
33
34 }} // boost::geometry
35
36 #endif // BOOST_GEOMETRY_OVERLAY_NO_THROW
37
38 #endif // BOOST_GEOMETRY_ALGORITHMS_DETAIL_OVERLAY_INCONSISTENT_TURNS_EXCEPTION_HPP