GEOS 3.11.1
UnsupportedOperationException.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
20#include <string>
21
22#include <geos/util/GEOSException.h>
23
24namespace geos {
25namespace util { // geos::util
26
36public:
38 :
39 GEOSException("UnsupportedOperationException", "")
40 {}
41
42 UnsupportedOperationException(const std::string& msg)
43 :
44 GEOSException("UnsupportedOperationException", msg)
45 {}
46
47 ~UnsupportedOperationException() noexcept override {}
48};
49
50} // namespace geos::util
51} // namespace geos
52
Base class for all GEOS exceptions.
Definition: GEOSException.h:37
Indicates that the requested operation is unsupported.
Definition: UnsupportedOperationException.h:35
Basic namespace for all GEOS functionalities.
Definition: geos.h:39