libzypp: zypp/parser/ParseException.h Source File

libzypp 17.25.10

ParseException.h
Go to the documentation of this file.
1 /*---------------------------------------------------------------------\
2 | ____ _ __ __ ___ |
3 | |__ / \ / / . \ . \ |
4 | / / \ V /| _/ _/ |
5 | / /__ | | | | | | |
6 | /_____||_| |_| |_| |
7 | |
8 \---------------------------------------------------------------------*/
12 #ifndef ZYPP_PARSER_TAGFILE_PARSEEXCEPTION_H
13 #define ZYPP_PARSER_TAGFILE_PARSEEXCEPTION_H
14
15 #include <iosfwd>
16 #include <string>
17
18 #include <zypp/base/Exception.h>
19 #include <zypp/base/UserRequestException.h>
20
22 namespace zypp
23 {
25 namespace parser
26 {
27
29 //
30 // CLASS NAME : ParseException
31 //
33 class ParseException : public Exception
34 {
35 public:
37 ParseException();
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_PARSER_TAGFILE_PARSEEXCEPTION_H
Exception.h
UserRequestException.h
zypp::Exception
Base class for Exception.
Definition: Exception.h:146
zypp::parser::ParseException
Definition: ParseException.h:34
zypp::parser::ParseException::ParseException
ParseException()
Default ctor.
Definition: ParseException.cc:31
zypp::parser::ParseException::~ParseException
virtual ~ParseException()
Dtor.
Definition: ParseException.cc:49
zypp::parser::ParseException::dumpOn
virtual std::ostream & dumpOn(std::ostream &str) const
Overload this to print a proper error message.
Definition: ParseException.cc:57
str
String related utilities and Regular expression matching.
zypp
Easy-to use interface to the ZYPP dependency resolver.
Definition: CodePitfalls.doc:2