GEOS 3.13.1
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
23namespace geos {
24namespace util { // geos.util
25
29class GEOS_DLL AssertionFailedException: public GEOSException {
30
31public:
32
33 AssertionFailedException()
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
Utility classes for GEOS.
Definition namespaces.h:314
Basic namespace for all GEOS functionalities.
Definition geos.h:39