GEOS  3.14.0dev
AssertionFailedException.h
1 /**********************************************************************
2  *
3  * GEOS - Geometry Engine Open Source
4  * http://geos.osgeo.org
5  *
6  * Copyright (C) 2001-2002 Vivid Solutions Inc.
7  * Copyright (C) 2006 Refractions Research Inc.
8  *
9  * This is free software; you can redistribute and/or modify it under
10  * the terms of the GNU Lesser General Public Licence as published
11  * by the Free Software Foundation.
12  * See the COPYING file for more information.
13  *
14  **********************************************************************/
15 
16 #pragma once
17 
18 #include <geos/export.h>
19 #include <string>
20 
21 #include <geos/util/GEOSException.h>
22 
23 namespace geos {
24 namespace util { // geos.util
25 
29 class GEOS_DLL AssertionFailedException: public GEOSException {
30 
31 public:
32 
34  :
35  GEOSException("AssertionFailedException", "")
36  {}
37 
38  AssertionFailedException(const std::string& msg)
39  :
40  GEOSException("AssertionFailedException", msg)
41  {}
42 
43  ~AssertionFailedException() noexcept override {}
44 };
45 
46 } // namespace geos.util
47 } // namespace geos
48 
Indicates a bug in GEOS code.
Definition: AssertionFailedException.h:29
Base class for all GEOS exceptions.
Definition: GEOSException.h:37
Basic namespace for all GEOS functionalities.
Definition: Angle.h:25