GEOS 3.3.1
|
00001 /********************************************************************** 00002 * $Id$ 00003 * 00004 * GEOS - Geometry Engine Open Source 00005 * http://geos.refractions.net 00006 * 00007 * Copyright (C) 2011 Sandro Santilli <strk@keybit.net> 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_ILLEGALSTATEEXCEPTION_H 00017 #define GEOS_UTIL_ILLEGALSTATEEXCEPTION_H 00018 00019 #include <geos/export.h> 00020 #include <string> 00021 00022 #include <geos/util/GEOSException.h> 00023 00024 namespace geos { 00025 namespace util { // geos::util 00026 00028 class GEOS_DLL IllegalStateException: public GEOSException { 00029 public: 00030 IllegalStateException() 00031 : 00032 GEOSException("IllegalStateException", "") 00033 {} 00034 00035 IllegalStateException(const std::string& msg) 00036 : 00037 GEOSException("IllegalStateException", msg) 00038 {} 00039 00040 ~IllegalStateException() throw() {}; 00041 }; 00042 00043 } // namespace geos::util 00044 } // namespace geos 00045 00046 00047 #endif // GEOS_UTIL_ILLEGALSTATEEXCEPTION_H