GEOS
3.6.2
|
00001 /********************************************************************** 00002 * 00003 * GEOS - Geometry Engine Open Source 00004 * http://geos.osgeo.org 00005 * 00006 * Copyright (C) 2001-2002 Vivid Solutions Inc. 00007 * Copyright (C) 2006 Refractions Research Inc. 00008 * 00009 * This is free software; you can redistribute and/or modify it under 00010 * the terms of the GNU Lesser General Public Licence as published 00011 * by the Free Software Foundation. 00012 * See the COPYING file for more information. 00013 * 00014 **********************************************************************/ 00015 00016 #ifndef GEOS_UTIL_UNSUPPORTEDOPERATIONEXCEPTION_H 00017 #define GEOS_UTIL_UNSUPPORTEDOPERATIONEXCEPTION_H 00018 00019 #include <geos/export.h> 00020 00021 #include <string> 00022 00023 #include <geos/util/GEOSException.h> 00024 00025 namespace geos { 00026 namespace util { // geos::util 00027 00036 class GEOS_DLL UnsupportedOperationException: public GEOSException { 00037 public: 00038 UnsupportedOperationException() 00039 : 00040 GEOSException("UnsupportedOperationException", "") 00041 {} 00042 00043 UnsupportedOperationException(const std::string& msg) 00044 : 00045 GEOSException("UnsupportedOperationException", msg) 00046 {} 00047 00048 ~UnsupportedOperationException() throw() {} 00049 }; 00050 00051 } // namespace geos::util 00052 } // namespace geos 00053 00054 00055 #endif // GEOS_UTIL_UNSUPPORTEDOPERATIONEXCEPTION_H