Passwordfile library 5.0.12
C++ library to read/write passwords from/to encrypted files
Loading...
Searching...
No Matches
Io::CryptoException Class Reference

The exception that is thrown when an encryption/decryption error occurs. More...

#include <cryptoexception.h>

Inheritance diagram for Io::CryptoException:
[legend]
Collaboration diagram for Io::CryptoException:
[legend]

Public Member Functions

 CryptoException (const std::string &message) noexcept
 Constructs a crypto exception.
 
 CryptoException (const char *message) noexcept
 Constructs a crypto exception.
 
 ~CryptoException () override
 Destroys the crypto exception.
 

Detailed Description

The exception that is thrown when an encryption/decryption error occurs.

Remarks
Must not have any inline methods/c'tors/d'tors (so the vtable is invoked in any compile unit). Otherwise it is not possible to throw/catch it across library boundaries under Android.

Definition at line 11 of file cryptoexception.h.

Constructor & Destructor Documentation

◆ CryptoException() [1/2]

Io::CryptoException::CryptoException ( const std::string & message)
explicitnoexcept

Constructs a crypto exception.

Definition at line 14 of file cryptoexception.cpp.

◆ CryptoException() [2/2]

Io::CryptoException::CryptoException ( const char * message)
explicitnoexcept

Constructs a crypto exception.

Definition at line 22 of file cryptoexception.cpp.

◆ ~CryptoException()

Io::CryptoException::~CryptoException ( )
override

Destroys the crypto exception.

Definition at line 30 of file cryptoexception.cpp.


The documentation for this class was generated from the following files: