GEOS 3.6.2
IllegalStateException.h
1/**********************************************************************
2 *
3 * GEOS - Geometry Engine Open Source
4 * http://geos.osgeo.org
5 *
6 * Copyright (C) 2011 Sandro Santilli <strk@keybit.net>
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
23namespace geos {
24namespace util { // geos::util
25
27class GEOS_DLL IllegalStateException: public GEOSException {
28public:
29 IllegalStateException()
30 :
31 GEOSException("IllegalStateException", "")
32 {}
33
34 IllegalStateException(const std::string& msg)
35 :
36 GEOSException("IllegalStateException", msg)
37 {}
38
39 ~IllegalStateException() throw() {}
40};
41
42} // namespace geos::util
43} // namespace geos
44
45
46#endif // GEOS_UTIL_ILLEGALSTATEEXCEPTION_H
Basic namespace for all GEOS functionalities.
Definition IndexedNestedRingTester.h:25