libzypp
17.37.18
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
22
namespace
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
Exception.h
ZYPP_API
#define ZYPP_API
Definition
Globals.h:69
zypp::Exception::Exception
Exception()
Default ctor.
Definition
Exception.cc:94
zypp::parser::ParseException::dumpOn
std::ostream & dumpOn(std::ostream &str) const override
Overload this to print a proper error message.
Definition
parseexception.cc:55
zypp::parser::ParseException::ParseException
ParseException()
Default ctor.
Definition
parseexception.cc:29
str
String related utilities and Regular expression matching.
zypp::parser
Definition
inidict.cc:28
zypp
Definition
CodePitfalls.doc:2
zypp-core
parser
parseexception.h
Generated by
1.14.0