GEOS
3.12.0
include
geos
util
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
22
namespace
geos
{
23
namespace
util {
// geos::util
24
26
class
GEOS_DLL
IllegalStateException
:
public
GEOSException
{
27
public
:
28
IllegalStateException
()
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
geos::util::GEOSException
Base class for all GEOS exceptions.
Definition:
GEOSException.h:37
geos
Basic namespace for all GEOS functionalities.
Definition:
Angle.h:25
geos::util::IllegalStateException
Indicates an illegal state.
Definition:
IllegalStateException.h:26
Generated by
1.8.20