1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
|
/*---------------------------------------------------------------------\
| ____ _ __ __ ___ |
| |__ / \ / / . \ . \ |
| / / \ V /| _/ _/ |
| / /__ | | | | | | |
| /_____||_| |_| |_| |
| |
\---------------------------------------------------------------------*/
/** \file zypp-common/KeyRingException.h
*
*/
#ifndef ZYPP_KEYRING_EXCEPTION_H
#define ZYPP_KEYRING_EXCEPTION_H
#include <zypp-core/Globals.h>
#include <zypp-core/base/Exception.h>
namespace zypp {
class ZYPP_API KeyRingException : public Exception
{
public:
/** Ctor taking message.
* Use \ref ZYPP_THROW to throw exceptions.
*/
KeyRingException()
: Exception( "Bad Key Exception" )
{}
/** Ctor taking message.
* Use \ref ZYPP_THROW to throw exceptions.
*/
KeyRingException( const std::string & msg_r )
: Exception( msg_r )
{}
/** Dtor. */
~KeyRingException() throw() override {};
};
}
#endif
|