16 #ifndef GEOS_UTIL_GEOSEXCEPTION_H 17 #define GEOS_UTIL_GEOSEXCEPTION_H 19 #include <geos/export.h> 25 #pragma warning(disable: 4251) // warning C4251: needs to have dll-interface to be used by clients of class 26 #pragma warning(disable: 4275) // warning C4275: non-DLL-interface std::exception used as base for DLL-interface GEOSException 44 std::runtime_error(
"Unknown error")
49 std::runtime_error(msg)
52 GEOSException(std::string
const& name, std::string
const& msg)
54 std::runtime_error(name +
": " + msg)
66 #endif // GEOS_UTIL_GEOSEXCEPTION_H Basic namespace for all GEOS functionalities.
Definition: IndexedNestedRingTester.h:25
Base class for all GEOS exceptions.
Definition: GEOSException.h:38