00001 #ifndef CLASSLIB_SHA1_ERROR_H
00002 # define CLASSLIB_SHA1_ERROR_H
00003
00004
00005
00006 # include "classlib/sysapi/system.h"
00007 # include "classlib/utils/Error.h"
00008
00009 namespace lat {
00010
00011
00012
00013
00014
00015
00016
00018 class SHA1Error : public Error
00019 {
00020 public:
00021 SHA1Error (int error);
00022
00023
00024
00025
00026 virtual std::string explainSelf (void) const;
00027 virtual Error * clone (void) const;
00028 virtual void rethrow (void);
00029
00030 private:
00031 int m_error;
00032 };
00033
00034
00035
00036
00037 }
00038 #endif // CLASSLIB_SHA1_ERROR_H