GEOS  3.4.2
IllegalArgumentException.h
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_ILLEGALARGUMENTEXCEPTION_H
00017 #define GEOS_UTIL_ILLEGALARGUMENTEXCEPTION_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 
00034 class GEOS_DLL IllegalArgumentException: public GEOSException {
00035 public:
00036         IllegalArgumentException()
00037                 :
00038                 GEOSException("IllegalArgumentException", "")
00039         {}
00040 
00041         IllegalArgumentException(const std::string& msg)
00042                 :
00043                 GEOSException("IllegalArgumentException", msg)
00044         {}
00045 
00046         ~IllegalArgumentException() throw() {}
00047 };
00048 
00049 } // namespace geos::util
00050 } // namespace geos
00051 
00052 
00053 #endif // GEOS_UTIL_ILLEGALARGUMENTEXCEPTION_H