GEOS  3.8.0dev
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 #ifndef GEOS_UTIL_ILLEGALSTATEEXCEPTION_H
16 #define GEOS_UTIL_ILLEGALSTATEEXCEPTION_H
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 
27 class GEOS_DLL IllegalStateException: public GEOSException {
28 public:
30  :
31  GEOSException("IllegalStateException", "")
32  {}
33 
34  IllegalStateException(const std::string& msg)
35  :
36  GEOSException("IllegalStateException", msg)
37  {}
38 
39  ~IllegalStateException() throw() override {}
40 };
41 
42 } // namespace geos::util
43 } // namespace geos
44 
45 
46 #endif // GEOS_UTIL_ILLEGALSTATEEXCEPTION_H
Indicates an illegal state.
Definition: IllegalStateException.h:27
Basic namespace for all GEOS functionalities.
Definition: IndexedNestedRingTester.h:25
Base class for all GEOS exceptions.
Definition: GEOSException.h:38