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::SetupExistsException Class Reference

Exception thrown if a setup with the same name already exsits. More...

#include <setup.h>

+ Inheritance diagram for QtDataSync::SetupExistsException:

Public Member Functions

 SetupExistsException (const QString &setupName)
 Constructor with setup name.
 
QByteArray className () const noexcept override
 Returns the name of the exception.
 
void raise () const final
 Inherits QException::raise.
 
QExceptionclone () const final
 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 QString qWhat () const
 Like what, but returns a QString instead of a character array.
 
virtual const char * what () const noexcept final
 Inherits QException::what.
 

Detailed Description

Exception thrown if a setup with the same name already exsits.

Definition at line 344 of file setup.h.


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