CacheException.h

Go to the documentation of this file.
00001 /*---------------------------------------------------------------------\
00002 |                          ____ _   __ __ ___                          |
00003 |                         |__  / \ / / . \ . \                         |
00004 |                           / / \ V /|  _/  _/                         |
00005 |                          / /__ | | | | | |                           |
00006 |                         /_____||_| |_| |_|                           |
00007 |                                                                      |
00008 \---------------------------------------------------------------------*/
00009 
00010 #ifndef ZYPP_REPO_REPOEXCEPTION_H
00011 #define ZYPP_REPO_REPOEXCEPTION_H
00012 
00013 #include <iosfwd>
00014 #include <string>
00015 
00016 #include "zypp/base/Exception.h"
00017 #include "zypp/base/UserRequestException.h"
00018 
00020 namespace zypp
00021 { 
00022 
00023   namespace cache
00024   { 
00025 
00029     class CacheException : public Exception
00030     {
00031     public:
00033       CacheException();
00035       CacheException( const std::string & msg_r );
00037       virtual ~CacheException() throw();
00038     protected:
00039       virtual std::ostream & dumpOn( std::ostream & str ) const;
00040     };
00042 
00046     class CacheRecordNotFoundException : public CacheException
00047     {
00048     public:
00050       CacheRecordNotFoundException();
00051     };
00052 
00054   } // namespace cache
00057 } // namespace zypp
00059 #endif // ZYPP_PARSER_TAGFILE_PARSEEXCEPTION_H

Generated on Tue Sep 25 19:22:59 2007 for libzypp by  doxygen 1.5.3