X-Git-Url: http://git.vrable.net/?p=cumulus.git;a=blobdiff_plain;f=store.h;h=aa98e30004fc5119f422ab1cbc2d42ab10d7e2d3;hp=656659db62762e4639d5eee1d7b13a4806b1a6b3;hb=f38dd9bcb0caffd3fc9126b05788c936690e8288;hpb=0dfc70e01ddb7d2bce0db03d5364c0bd3a2bb308 diff --git a/store.h b/store.h index 656659d..aa98e30 100644 --- a/store.h +++ b/store.h @@ -45,19 +45,6 @@ class LbsObject; * metadata. Currently implemented as map. */ typedef std::map dictionary; -/* IOException will be thrown if an error occurs while reading or writing in - * one of the I/O wrappers. Depending upon the context; this may be fatal or - * not--typically, errors reading/writing the store will be serious, but errors - * reading an individual file are less so. */ -class IOException : public std::exception { -private: - std::string error; -public: - explicit IOException(const std::string &err) { error = err; } - virtual ~IOException() throw () { } - std::string getError() const { return error; } -}; - /* Simplified TAR header--we only need to store regular files, don't need to * handle long filenames, etc. */ static const int TAR_BLOCK_SIZE = 512;