GEOS 3.11.1
IllegalStateException.h
1/**********************************************************************
2 *
3 * GEOS - Geometry Engine Open Source
4 * http://geos.osgeo.org
5 *
6 * Copyright (C) 2011 Sandro Santilli <strk@kbt.io>
7 *
8 * This is free software; you can redistribute and/or modify it under
9 * the terms of the GNU Lesser General Public Licence as published
10 * by the Free Software Foundation.
11 * See the COPYING file for more information.
12 *
13 **********************************************************************/
14
15#pragma once
16
17#include <geos/export.h>
18#include <string>
19
20#include <geos/util/GEOSException.h>
21
22namespace geos {
23namespace util { // geos::util
24
26class GEOS_DLL IllegalStateException: public GEOSException {
27public:
29 :
30 GEOSException("IllegalStateException", "")
31 {}
32
33 IllegalStateException(const std::string& msg)
34 :
35 GEOSException("IllegalStateException", msg)
36 {}
37
38 ~IllegalStateException() noexcept override {}
39};
40
41} // namespace geos::util
42} // namespace geos
Base class for all GEOS exceptions.
Definition: GEOSException.h:37
Indicates an illegal state.
Definition: IllegalStateException.h:26
Basic namespace for all GEOS functionalities.
Definition: geos.h:39