00001
00002
00003 #ifndef _CORRUPTCHECKTABLE_H
00004 #define _CORRUPTCHECKTABLE_H
00005 #include <stdexcept>
00006
00007 namespace osl
00008 {
00009 namespace checkmate
00010 {
00011 class CheckHashRecord;
00012 struct CorruptCheckTable : std::runtime_error
00013 {
00014 const CheckHashRecord *record;
00015 #ifdef __GNUC__
00016 __attribute__ ((noinline))
00017 #endif
00018 CorruptCheckTable(const CheckHashRecord *r,
00019 const char *msg="CorruptCheckTable")
00020 : std::runtime_error(msg), record(r)
00021 {
00022 }
00023 };
00024 }
00025 }
00026
00027
00028 #endif
00029
00030
00031
00032