GEOS 3.3.4

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

- File List

IllegalStateException.h
1 /**********************************************************************
2 * $Id$
3 *
4 * GEOS - Geometry Engine Open Source
5 * http://geos.refractions.net
6 *
7 * Copyright (C) 2011 Sandro Santilli <strk@keybit.net>
8 *
9 * This is free software; you can redistribute and/or modify it under
10 * the terms of the GNU Lesser General Public Licence as published
11 * by the Free Software Foundation.
12 * See the COPYING file for more information.
13 *
14 **********************************************************************/
15
16 #ifndef GEOS_UTIL_ILLEGALSTATEEXCEPTION_H
17 #define GEOS_UTIL_ILLEGALSTATEEXCEPTION_H
18
19 #include <geos/export.h>
20 #include <string>
21
22 #include <geos/util/GEOSException.h>
23
24 namespace geos {
25 namespace util { // geos::util
26
28 class GEOS_DLL IllegalStateException: public GEOSException {
29 public:
30 IllegalStateException()
31 :
32 GEOSException("IllegalStateException", "")
33 {}
34
35 IllegalStateException(const std::string& msg)
36 :
37 GEOSException("IllegalStateException", msg)
38 {}
39
40 ~IllegalStateException() throw() {};
41 };
42
43 } // namespace geos::util
44 } // namespace geos
45
46
47 #endif // GEOS_UTIL_ILLEGALSTATEEXCEPTION_H