16 #ifndef GEOS_UTIL_GEOSEXCEPTION_H 17 #define GEOS_UTIL_GEOSEXCEPTION_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)
54 std::runtime_error(name +
": " + msg)
66 #endif // GEOS_UTIL_GEOSEXCEPTION_H
GEOSException(std::string const &msg)
Basic namespace for all GEOS functionalities.
GEOSException(std::string const &name, std::string const &msg)
Base class for all GEOS exceptions.