GEOS  3.13.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 #pragma once
17 
18 #include <geos/export.h>
19 #include <string>
20 
21 #include <geos/util/GEOSException.h>
22 
23 namespace geos {
24 namespace util { // geos::util
25 
33 class GEOS_DLL IllegalArgumentException: public GEOSException {
34 public:
36  :
37  GEOSException("IllegalArgumentException", "")
38  {}
39 
40  IllegalArgumentException(const std::string& msg)
41  :
42  GEOSException("IllegalArgumentException", msg)
43  {}
44 
45  ~IllegalArgumentException() noexcept override {}
46 };
47 
48 } // namespace geos::util
49 } // namespace geos
50 
Base class for all GEOS exceptions.
Definition: GEOSException.h:37
Indicates one or more illegal arguments.
Definition: IllegalArgumentException.h:33
Basic namespace for all GEOS functionalities.
Definition: Angle.h:25