Loading...
Searching...
No Matches
SqlException Class Reference
#include <tfexception.h>
Inheritance diagram for SqlException:

Collaboration diagram for SqlException:

Public Member Functions | |
| SqlException (const QString &message, const char *fileName="", int lineNumber=0) | |
| void | raise () const override |
| std::exception * | clone () const override |
| QString | className () const override |
Public Member Functions inherited from TfException | |
| TfException (const QString &message, const char *fileName="", int lineNumber=0) noexcept | |
| TfException (const TfException &e) noexcept | |
| virtual | ~TfException () throw () |
| QString | message () const |
| QString | fileName () const |
| int | lineNumber () const |
| virtual const char * | what () const noexcept override |
Additional Inherited Members | |
Protected Attributes inherited from TfException | |
| QString | msg |
| QString | file |
| int | line {0} |
| QByteArray | whatmsg |
Detailed Description
The SqlException class represents an exception that can be thrown when SQL database error occurs.
Constructor & Destructor Documentation
◆ SqlException()
|
inline |
Copy constructor.
Constructor.
Member Function Documentation
◆ className()
|
inlineoverridevirtual |
Returns exception class name.
Reimplemented from TfException.
◆ clone()
|
inlineoverridevirtual |
Creates and returns a deep copy of the current data.
Reimplemented from TfException.
◆ raise()
| inlineoverridevirtual |
Raises the exception.
Reimplemented from TfException.
The documentation for this class was generated from the following files:
- src/tfexception.h
- src/tfexception.cpp

Public Member Functions inherited from