You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
47 lines
1.1 KiB
C++
47 lines
1.1 KiB
C++
/**********************************************************************
|
|
*
|
|
* 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.
|
|
*
|
|
**********************************************************************/
|
|
|
|
#ifndef GEOS_UTIL_ILLEGALSTATEEXCEPTION_H
|
|
#define GEOS_UTIL_ILLEGALSTATEEXCEPTION_H
|
|
|
|
#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
|
|
|
|
|
|
#endif // GEOS_UTIL_ILLEGALSTATEEXCEPTION_H
|