GEOS 3.3.8

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

- File List

UnsupportedOperationException.h
1 /**********************************************************************
2 * $Id: UnsupportedOperationException.h 3255 2011-03-01 17:56:10Z mloskot $
3 *
4 * GEOS - Geometry Engine Open Source
5 * http://geos.refractions.net
6 *
7 * Copyright (C) 2001-2002 Vivid Solutions Inc.
8 * Copyright (C) 2006 Refractions Research Inc.
9 *
10 * This is free software; you can redistribute and/or modify it under
11 * the terms of the GNU Lesser General Public Licence as published
12 * by the Free Software Foundation.
13 * See the COPYING file for more information.
14 *
15 **********************************************************************/
16
17 #ifndef GEOS_UTIL_UNSUPPORTEDOPERATIONEXCEPTION_H
18 #define GEOS_UTIL_UNSUPPORTEDOPERATIONEXCEPTION_H
19
20 #include <geos/export.h>
21
22 #include <string>
23
24 #include <geos/util/GEOSException.h>
25
26 namespace geos {
27 namespace util { // geos::util
28
37 class GEOS_DLL UnsupportedOperationException: public GEOSException {
38 public:
39 UnsupportedOperationException()
40 :
41 GEOSException("UnsupportedOperationException", "")
42 {}
43
44 UnsupportedOperationException(const std::string& msg)
45 :
46 GEOSException("UnsupportedOperationException", msg)
47 {}
48
49 ~UnsupportedOperationException() throw() {};
50 };
51
52 } // namespace geos::util
53 } // namespace geos
54
55
56 #endif // GEOS_UTIL_UNSUPPORTEDOPERATIONEXCEPTION_H
57
58 /**********************************************************************
59 * $Log$
60 * Revision 1.1 2006/03/09 16:46:49 strk
61 * geos::geom namespace definition, first pass at headers split
62 *
63 **********************************************************************/