libzypp 17.31.23
parseexception.h
Go to the documentation of this file.
1/*---------------------------------------------------------------------\
2| ____ _ __ __ ___ |
3| |__ / \ / / . \ . \ |
4| / / \ V /| _/ _/ |
5| / /__ | | | | | | |
6| /_____||_| |_| |_| |
7| |
8\---------------------------------------------------------------------*/
12#ifndef ZYPP_CORE_PARSER_PARSEEXCEPTION_H
13#define ZYPP_CORE_PARSER_PARSEEXCEPTION_H
14
15#include <iosfwd>
16#include <string>
17
18#include <zypp-core/base/Exception.h>
19#include <zypp-core/base/UserRequestException>
20
22namespace zypp
23{
25 namespace parser
26 {
27
29 //
30 // CLASS NAME : ParseException
31 //
34 {
35 public:
39 ParseException( const std::string & msg_r );
41 virtual ~ParseException() throw();
42 protected:
43 virtual std::ostream & dumpOn( std::ostream & str ) const;
44 };
46
48 } // namespace parser
51} // namespace zypp
53#endif // ZYPP_CORE_PARSER_PARSEEXCEPTION_H
Base class for Exception.
Definition: Exception.h:146
virtual std::ostream & dumpOn(std::ostream &str) const
Overload this to print a proper error message.
String related utilities and Regular expression matching.
Easy-to use interface to the ZYPP dependency resolver.
Definition: CodePitfalls.doc:2