passwordfile/io/cryptoexception.h

19 lines
384 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 {
2017-05-01 03:25:30 +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