libzypp: zypp-common/KeyRingException.h Source File

libzypp 17.38.7

KeyRingException.h
Go to the documentation of this file.
1/*---------------------------------------------------------------------\
2| ____ _ __ __ ___ |
3| |__ / \ / / . \ . \ |
4| / / \ V /| _/ _/ |
5| / /__ | | | | | | |
6| /_____||_| |_| |_| |
7| |
8\---------------------------------------------------------------------*/
12#ifndef ZYPP_KEYRING_EXCEPTION_H
13#define ZYPP_KEYRING_EXCEPTION_H
14
15#include <zypp-core/Globals.h>
16#include <zypp-core/base/Exception.h>
17
18namespace zypp {
19
20 class ZYPP_API KeyRingException : public Exception
21 {
22 public:
26 KeyRingException()
27 : Exception( "Bad Key Exception" )
28 {}
29
32 KeyRingException( const std::string & msg_r )
33 : Exception( msg_r )
34 {}
35
36 ~KeyRingException() throw() override {};
37 };
38
39}
40
41#endif
Exception.h
Globals.h
Provides API related macros.
zypp::Exception::Exception
Exception()
Default ctor.
Definition Exception.cc:94
zypp::KeyRingException::KeyRingException
KeyRingException()
Ctor taking message.
Definition KeyRingException.h:26
zypp::KeyRingException::~KeyRingException
~KeyRingException() override
Dtor.
Definition KeyRingException.h:36
zypp::KeyRingException::KeyRingException
KeyRingException(const std::string &msg_r)
Ctor taking message.
Definition KeyRingException.h:32
zypp
Easy-to use interface to the ZYPP dependency resolver.
Definition CodePitfalls.doc:2
zypp::ZYPP_API
const Arch Arch_empty ZYPP_API
relates: Arch This is an empty Arch represented by an empty string.
Definition Arch.h:173