DYT/Tool/OpenSceneGraph-3.6.5/include/geos/util/IllegalStateException.h

43 lines
1.0 KiB
C
Raw Normal View History

2024-12-24 23:49:36 +00:00
/**********************************************************************
*
* GEOS - Geometry Engine Open Source
* http://geos.osgeo.org
*
* Copyright (C) 2011 Sandro Santilli <strk@kbt.io>
*
* This is free software; you can redistribute and/or modify it under
* the terms of the GNU Lesser General Public Licence as published
* by the Free Software Foundation.
* See the COPYING file for more information.
*
**********************************************************************/
#pragma once
#include <geos/export.h>
#include <string>
#include <geos/util/GEOSException.h>
namespace geos {
namespace util { // geos::util
/// Indicates an illegal state
class GEOS_DLL IllegalStateException: public GEOSException {
public:
IllegalStateException()
:
GEOSException("IllegalStateException", "")
{}
IllegalStateException(const std::string& msg)
:
GEOSException("IllegalStateException", msg)
{}
~IllegalStateException() noexcept override {}
};
} // namespace geos::util
} // namespace geos