libzypp: zypp-core/parser/parseexception.h Source File

libzypp 17.36.6

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 //
33 class ZYPP_API ParseException : public Exception
34 {
35 public:
37 ParseException();
39 ParseException( const std::string & msg_r );
41 ~ParseException() throw() override;
42 protected:
43 std::ostream & dumpOn( std::ostream & str ) const override;
44 };
45
46
48 } // namespace parser
51} // namespace zypp
53#endif // ZYPP_CORE_PARSER_PARSEEXCEPTION_H
zypp::Exception::Exception
Exception()
Default ctor.
Definition Exception.cc:81
zypp::ParseException::dumpOn
std::ostream & dumpOn(std::ostream &str) const override
Overload this to print a proper error message.
Definition parseexception.cc:55
zypp::ParseException::ParseException
ParseException()
Default ctor.
Definition parseexception.cc:29
str
String related utilities and Regular expression matching.
zypp::parser
Definition HistoryLogReader.cc:30
zypp
Easy-to use interface to the ZYPP dependency resolver.
Definition Application.cc:20
zypp::ZYPP_API
const Arch Arch_armv7hnl Arch_armv7nhl ZYPP_API
Definition Arch.h:247
Exception.h