GEOS 3.4.2

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

- File List

UnsupportedOperationException.h
1 /**********************************************************************
2 *
3 * GEOS - Geometry Engine Open Source
4 * http://geos.osgeo.org
5 *
6 * Copyright (C) 2001-2002 Vivid Solutions Inc.
7 * Copyright (C) 2006 Refractions Research Inc.
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_UNSUPPORTEDOPERATIONEXCEPTION_H
17 #define GEOS_UTIL_UNSUPPORTEDOPERATIONEXCEPTION_H
18
19 #include <geos/export.h>
20
21 #include <string>
22
23 #include <geos/util/GEOSException.h>
24
25 namespace geos {
26 namespace util { // geos::util
27
36 class GEOS_DLL UnsupportedOperationException: public GEOSException {
37 public:
38 UnsupportedOperationException()
39 :
40 GEOSException("UnsupportedOperationException", "")
41 {}
42
43 UnsupportedOperationException(const std::string& msg)
44 :
45 GEOSException("UnsupportedOperationException", msg)
46 {}
47
48 ~UnsupportedOperationException() throw() {}
49 };
50
51 } // namespace geos::util
52 } // namespace geos
53
54
55 #endif // GEOS_UTIL_UNSUPPORTEDOPERATIONEXCEPTION_H