• Main Page
  • Related Pages
  • Namespaces
  • Classes
  • Files
  • File List

IllegalArgumentException.h

00001 /**********************************************************************
00002  * $Id: IllegalArgumentException.h 2556 2009-06-06 22:22:28Z strk $
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_ILLEGALARGUMENTEXCEPTION_H
00018 #define GEOS_UTIL_ILLEGALARGUMENTEXCEPTION_H
00019 
00020 #include <geos/export.h>
00021 #include <string>
00022 
00023 #include <geos/util/GEOSException.h>
00024 
00025 namespace geos {
00026 namespace util { // geos::util
00027 
00035 class GEOS_DLL IllegalArgumentException: public GEOSException {
00036 public:
00037         IllegalArgumentException()
00038                 :
00039                 GEOSException("IllegalArgumentException", "")
00040         {}
00041 
00042         IllegalArgumentException(const std::string& msg)
00043                 :
00044                 GEOSException("IllegalArgumentException", msg)
00045         {}
00046 
00047         ~IllegalArgumentException() throw() {};
00048 };
00049 
00050 } // namespace geos::util
00051 } // namespace geos
00052 
00053 
00054 #endif // GEOS_UTIL_ILLEGALARGUMENTEXCEPTION_H
00055 
00056 /**********************************************************************
00057  * $Log$
00058  * Revision 1.2  2006/04/04 08:16:46  strk
00059  * Changed GEOSException hierarchy to be derived from std::runtime_exception.
00060  * Removed the GEOSException::toString redundant method (use ::what() instead)
00061  *
00062  * Revision 1.1  2006/03/09 16:46:49  strk
00063  * geos::geom namespace definition, first pass at headers split
00064  *
00065  **********************************************************************/

Generated on Thu Jul 22 2010 for GEOS by  doxygen 1.7.1