QtDataSync  4.2.0
A simple offline-first synchronisation framework, to synchronize data of Qt applications between devices
Public Member Functions | List of all members
QtDataSync::KeyStoreException Class Reference

An exception to be thrown from within a keystore if an error occurs. More...

#include <keystore.h>

+ Inheritance diagram for QtDataSync::KeyStoreException:

Public Member Functions

 KeyStoreException (const KeyStore *const keyStore, const QString &what)
 Constructor that takes the store it was thrown from and an error message.
 
QString storeProviderName () const
 The name of the type of store the exception was thrown from.
 
QByteArray className () const noexcept override
 Returns the name of the exception.
 
QString qWhat () const override
 Like what, but returns a QString instead of a character array.
 
void raise () const override
 Inherits QException::raise.
 
QExceptionclone () const override
 Inherits QException::clone.
 
- Public Member Functions inherited from QtDataSync::Exception
 Exception (const QString &setupName, const QString &message)
 Constructor for an exception from the given setup.
 
 Exception (const Defaults &defaults, const QString &message)
 Constructor for an exception with the given defaults.
 
QString setupName () const
 Returns the name of the setup the exception was thrown from.
 
QString message () const
 Returns the actual error message of the exception.
 
virtual const char * what () const noexcept final
 Inherits QException::what.
 

Detailed Description

An exception to be thrown from within a keystore if an error occurs.

Definition at line 13 of file keystore.h.


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