GEOS  3.8.0dev
IllegalArgumentException.h
1 /**********************************************************************
2  *
3  * GEOS - Geometry Engine Open Source
4  * http://geos.osgeo.org
5  *
6  * Copyright (C) 2001-2002 Vivid Solutions Inc.
7  * Copyright (C) 2006 Refractions Research Inc.
8  *
9  * This is free software; you can redistribute and/or modify it under
10  * the terms of the GNU Lesser General Public Licence as published
11  * by the Free Software Foundation.
12  * See the COPYING file for more information.
13  *
14  **********************************************************************/
15 
16 #ifndef GEOS_UTIL_ILLEGALARGUMENTEXCEPTION_H
17 #define GEOS_UTIL_ILLEGALARGUMENTEXCEPTION_H
18 
19 #include <geos/export.h>
20 #include <string>
21 
22 #include <geos/util/GEOSException.h>
23 
24 namespace geos {
25 namespace util { // geos::util
26 
34 class GEOS_DLL IllegalArgumentException: public GEOSException {
35 public:
37  :
38  GEOSException("IllegalArgumentException", "")
39  {}
40 
41  IllegalArgumentException(const std::string& msg)
42  :
43  GEOSException("IllegalArgumentException", msg)
44  {}
45 
46  ~IllegalArgumentException() throw() override {}
47 };
48 
49 } // namespace geos::util
50 } // namespace geos
51 
52 
53 #endif // GEOS_UTIL_ILLEGALARGUMENTEXCEPTION_H
Indicates one or more illegal arguments.
Definition: IllegalArgumentException.h:34
Basic namespace for all GEOS functionalities.
Definition: IndexedNestedRingTester.h:25
Base class for all GEOS exceptions.
Definition: GEOSException.h:38