passwordfile/io/cryptoexception.h

21 lines
385 B
C
Raw Normal View History

2015-04-22 19:06:29 +02:00
#ifndef CRYPTOFAILUREEXCEPTION_H
#define CRYPTOFAILUREEXCEPTION_H
2016-08-29 15:42:07 +02:00
#include "../global.h"
2015-04-22 19:06:29 +02:00
#include <stdexcept>
#include <string>
namespace Io {
2016-08-29 15:42:07 +02:00
class PASSWORD_FILE_EXPORT CryptoException : public std::runtime_error
2015-04-22 19:06:29 +02:00
{
public:
CryptoException(const std::string &openSslErrorQueue) USE_NOTHROW;
virtual ~CryptoException() USE_NOTHROW;
};
}
#endif // CRYPTOFAILUREEXCEPTION_H