00001 /* hashCollision.h 00002 */ 00003 #ifndef _HASHCOLLISION_H 00004 #define _HASHCOLLISION_H 00005 00006 #include <stdexcept> 00007 00008 namespace osl 00009 { 00010 namespace hash 00011 { 00015 struct HashCollision : std::runtime_error 00016 { 00017 HashCollision() : std::runtime_error("hash collision") 00018 { 00019 } 00020 }; 00021 } // namespace hash 00022 using hash::HashCollision; 00023 } // namespace osl 00024 00025 00026 #endif /* _HASHCOLLISION_H */ 00027 // ;;; Local Variables: 00028 // ;;; mode:c++ 00029 // ;;; c-basic-offset:2 00030 // ;;; End: