libzypp  10.5.0
ParseException.h
Go to the documentation of this file.
00001 /*---------------------------------------------------------------------\
00002 |                          ____ _   __ __ ___                          |
00003 |                         |__  / \ / / . \ . \                         |
00004 |                           / / \ V /|  _/  _/                         |
00005 |                          / /__ | | | | | |                           |
00006 |                         /_____||_| |_| |_|                           |
00007 |                                                                      |
00008 \---------------------------------------------------------------------*/
00012 #ifndef ZYPP_PARSER_TAGFILE_PARSEEXCEPTION_H
00013 #define ZYPP_PARSER_TAGFILE_PARSEEXCEPTION_H
00014 
00015 #include <iosfwd>
00016 #include <string>
00017 
00018 #include "zypp/base/Exception.h"
00019 #include "zypp/base/UserRequestException.h"
00020 
00022 namespace zypp
00023 { 
00024 
00025   namespace parser
00026   { 
00027 
00029     //
00030     //  CLASS NAME : ParseException
00031     //
00033     class ParseException : public Exception
00034     {
00035     public:
00037       ParseException();
00039       ParseException( const std::string & msg_r );
00041       virtual ~ParseException() throw();
00042     protected:
00043       virtual std::ostream & dumpOn( std::ostream & str ) const;
00044     };
00046 
00048   } // namespace parser
00051 } // namespace zypp
00053 #endif // ZYPP_PARSER_TAGFILE_PARSEEXCEPTION_H