GEOS
3.3.8
|
00001 /********************************************************************** 00002 * $Id: UnsupportedOperationException.h 3255 2011-03-01 17:56:10Z mloskot $ 00003 * 00004 * GEOS - Geometry Engine Open Source 00005 * http://geos.refractions.net 00006 * 00007 * Copyright (C) 2001-2002 Vivid Solutions Inc. 00008 * Copyright (C) 2006 Refractions Research Inc. 00009 * 00010 * This is free software; you can redistribute and/or modify it under 00011 * the terms of the GNU Lesser General Public Licence as published 00012 * by the Free Software Foundation. 00013 * See the COPYING file for more information. 00014 * 00015 **********************************************************************/ 00016 00017 #ifndef GEOS_UTIL_UNSUPPORTEDOPERATIONEXCEPTION_H 00018 #define GEOS_UTIL_UNSUPPORTEDOPERATIONEXCEPTION_H 00019 00020 #include <geos/export.h> 00021 00022 #include <string> 00023 00024 #include <geos/util/GEOSException.h> 00025 00026 namespace geos { 00027 namespace util { // geos::util 00028 00037 class GEOS_DLL UnsupportedOperationException: public GEOSException { 00038 public: 00039 UnsupportedOperationException() 00040 : 00041 GEOSException("UnsupportedOperationException", "") 00042 {} 00043 00044 UnsupportedOperationException(const std::string& msg) 00045 : 00046 GEOSException("UnsupportedOperationException", msg) 00047 {} 00048 00049 ~UnsupportedOperationException() throw() {}; 00050 }; 00051 00052 } // namespace geos::util 00053 } // namespace geos 00054 00055 00056 #endif // GEOS_UTIL_UNSUPPORTEDOPERATIONEXCEPTION_H 00057 00058 /********************************************************************** 00059 * $Log$ 00060 * Revision 1.1 2006/03/09 16:46:49 strk 00061 * geos::geom namespace definition, first pass at headers split 00062 * 00063 **********************************************************************/