2015-09-06 20:33:27 +02:00
|
|
|
#include "./cryptoexception.h"
|
2015-04-22 19:06:29 +02:00
|
|
|
|
|
|
|
namespace Io {
|
|
|
|
/*!
|
|
|
|
* \class CryptoException
|
|
|
|
* \brief The exception that is thrown when an encryption/decryption error occurs.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/*!
|
|
|
|
* \brief Constructs a crypto exception.
|
|
|
|
*/
|
2018-03-20 20:10:47 +01:00
|
|
|
CryptoException::CryptoException(const std::string &openSslErrorQueue) noexcept
|
|
|
|
: runtime_error(openSslErrorQueue)
|
2017-05-01 03:25:30 +02:00
|
|
|
{
|
|
|
|
}
|
2015-04-22 19:06:29 +02:00
|
|
|
|
|
|
|
/*!
|
|
|
|
* \brief Destroys the exception.
|
|
|
|
*/
|
2018-03-20 20:10:47 +01:00
|
|
|
CryptoException::~CryptoException() noexcept
|
2017-05-01 03:25:30 +02:00
|
|
|
{
|
|
|
|
}
|
2015-04-22 19:06:29 +02:00
|
|
|
}
|