passwordfile/io/cryptoexception.cpp

23 lines
433 B
C++

#include "./cryptoexception.h"
namespace Io {
/*!
* \class CryptoException
* \brief The exception that is thrown when an encryption/decryption error occurs.
*/
/*!
* \brief Constructs a crypto exception.
*/
CryptoException::CryptoException(const std::string &openSslErrorQueue) USE_NOTHROW : runtime_error(openSslErrorQueue)
{
}
/*!
* \brief Destroys the exception.
*/
CryptoException::~CryptoException() USE_NOTHROW
{
}
}