libzypp
17.32.5
filecheckexception.h
Go to the documentation of this file.
1
/*---------------------------------------------------------------------\
2
| ____ _ __ __ ___ |
3
| |__ / \ / / . \ . \ |
4
| / / \ V /| _/ _/ |
5
| / /__ | | | | | | |
6
| /_____||_| |_| |_| |
7
| |
8
\---------------------------------------------------------------------*/
9
10
#ifndef ZYPP_MEDIA_FILECHECKEXCEPTION_H
11
#define ZYPP_MEDIA_FILECHECKEXCEPTION_H
12
13
#include <
zypp-core/base/Exception.h
>
14
15
namespace
zypp
{
16
17
class
FileCheckException
:
public
Exception
18
{
19
public
:
20
FileCheckException
(std::string
msg
)
21
:
Exception
(
std
::move(
msg
))
22
{}
23
};
24
25
class
CheckSumCheckException
:
public
FileCheckException
26
{
27
public
:
28
CheckSumCheckException
(std::string
msg
)
29
:
FileCheckException
(
std
::move(
msg
))
30
{}
31
};
32
33
class
SignatureCheckException
:
public
FileCheckException
34
{
35
public
:
36
SignatureCheckException
(std::string
msg
)
37
:
FileCheckException
(
std
::move(
msg
))
38
{}
39
};
40
41
}
42
43
#endif
// ZYPP_MEDIA_FILECHECKEXCEPTION_H
zypp::CheckSumCheckException
Definition
filecheckexception.h:26
zypp::CheckSumCheckException::CheckSumCheckException
CheckSumCheckException(std::string msg)
Definition
filecheckexception.h:28
zypp::Exception
Base class for Exception.
Definition
Exception.h:147
zypp::Exception::msg
const std::string & msg() const
Return the message string provided to the ctor.
Definition
Exception.h:196
zypp::FileCheckException
Definition
filecheckexception.h:18
zypp::FileCheckException::FileCheckException
FileCheckException(std::string msg)
Definition
filecheckexception.h:20
zypp::SignatureCheckException
Definition
filecheckexception.h:34
zypp::SignatureCheckException::SignatureCheckException
SignatureCheckException(std::string msg)
Definition
filecheckexception.h:36
std
Definition
Arch.h:364
zypp
Easy-to use interface to the ZYPP dependency resolver.
Definition
Application.cc:20
Exception.h
zypp-media
filecheckexception.h
Generated by
1.10.0