Passwordfile library  3.1.2
C++ library to read/write passwords from/to encrypted files
cryptoexception.h
Go to the documentation of this file.
1 #ifndef CRYPTOFAILUREEXCEPTION_H
2 #define CRYPTOFAILUREEXCEPTION_H
3 
4 #include "../global.h"
5 
6 #include <stdexcept>
7 #include <string>
8 
9 namespace Io {
10 
11 class PASSWORD_FILE_EXPORT CryptoException : public std::runtime_error
12 {
13 public:
14  CryptoException(const std::string &openSslErrorQueue) USE_NOTHROW;
15  virtual ~CryptoException() USE_NOTHROW;
16 };
17 
18 }
19 
20 #endif // CRYPTOFAILUREEXCEPTION_H
Contains all IO related classes.
#define PASSWORD_FILE_EXPORT
Definition: global.h:13
The exception that is thrown when an encryption/decryption error occurs.