IllegalStateException.h

00001 /**********************************************************************
00002  *
00003  * GEOS - Geometry Engine Open Source
00004  * http://geos.osgeo.org
00005  *
00006  * Copyright (C) 2011 Sandro Santilli <strk@keybit.net>
00007  *
00008  * This is free software; you can redistribute and/or modify it under
00009  * the terms of the GNU Lesser General Public Licence as published
00010  * by the Free Software Foundation. 
00011  * See the COPYING file for more information.
00012  *
00013  **********************************************************************/
00014 
00015 #ifndef GEOS_UTIL_ILLEGALSTATEEXCEPTION_H
00016 #define GEOS_UTIL_ILLEGALSTATEEXCEPTION_H
00017 
00018 #include <geos/export.h>
00019 #include <string>
00020 
00021 #include <geos/util/GEOSException.h>
00022 
00023 namespace geos {
00024 namespace util { // geos::util
00025 
00027 class GEOS_DLL IllegalStateException: public GEOSException {
00028 public:
00029         IllegalStateException()
00030                 :
00031                 GEOSException("IllegalStateException", "")
00032         {}
00033 
00034         IllegalStateException(const std::string& msg)
00035                 :
00036                 GEOSException("IllegalStateException", msg)
00037         {}
00038 
00039         ~IllegalStateException() throw() {}
00040 };
00041 
00042 } // namespace geos::util
00043 } // namespace geos
00044 
00045 
00046 #endif // GEOS_UTIL_ILLEGALSTATEEXCEPTION_H

Generated on 23 Sep 2013 for GEOS by  doxygen 1.4.7