GEOS: IllegalStateException.h Source File

GEOS 3.5.0

- Main Page
- Related Pages
- Namespaces
- Classes
- Files

- File List

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
23 namespace geos {
24 namespace util { // geos::util
25
27 class GEOS_DLL IllegalStateException: public GEOSException {
28 public:
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
geos::util::IllegalStateException
Indicates an illegal state.
Definition: IllegalStateException.h:27
geos
Basic namespace for all GEOS functionalities.
Definition: IndexedNestedRingTester.h:25
geos::util::GEOSException
Base class for all GEOS exceptions.
Definition: GEOSException.h:38