libzypp 17.37.10

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 ZYPP_API FileCheckException : public Exception
18 {
19 public:
20 FileCheckException(std::string msg)
21 : Exception(std::move(msg))
22 {}
23 };
24
25 class ZYPP_API CheckSumCheckException : public FileCheckException
26 {
27 public:
28 CheckSumCheckException(std::string msg)
29 : FileCheckException(std::move(msg))
30 {}
31 };
32
33 class ZYPP_API 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::CheckSumCheckException
CheckSumCheckException(std::string msg)
Definition filecheckexception.h:28
zypp::Exception::Exception
Exception()
Default ctor.
Definition Exception.cc:94
zypp::Exception::msg
const std::string & msg() const
Return the message string provided to the ctor.
Definition Exception.h:206
zypp::FileCheckException::FileCheckException
FileCheckException(std::string msg)
Definition filecheckexception.h:20
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
zypp::ZYPP_API
const Arch Arch_armv7hnl Arch_armv7nhl ZYPP_API
Definition Arch.h:247
Exception.h