00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016 #ifndef GEOS_UTIL_ASSERTIONFAILEDEXCEPTION_H
00017 #define GEOS_UTIL_ASSERTIONFAILEDEXCEPTION_H
00018
00019 #include <geos/export.h>
00020 #include <string>
00021
00022 #include <geos/util/GEOSException.h>
00023
00024 namespace geos {
00025 namespace util {
00026
00030 class GEOS_DLL AssertionFailedException: public GEOSException {
00031
00032 public:
00033
00034 AssertionFailedException()
00035 :
00036 GEOSException("AssertionFailedException", "")
00037 {}
00038
00039 AssertionFailedException(const std::string& msg)
00040 :
00041 GEOSException("AssertionFailedException", msg)
00042 {}
00043
00044 ~AssertionFailedException() throw() {}
00045 };
00046
00047 }
00048 }
00049
00050
00051 #endif // GEOS_UTIL_ASSERTIONFAILEDEXCEPTION_H