TreeFrogFramework 2.10
|
#include <tfexception.h>
Public Member Functions | |
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 void | raise () const |
virtual std::exception * | clone () const |
virtual QString | className () const |
virtual const char * | what () const noexcept override |
Protected Attributes | |
QString | msg |
QString | file |
int | line {0} |
QByteArray | whatmsg |
The TfException class is a base class for all TreeFrog exception classes.
|
inlinenoexcept |
Constructor.
|
inlinenoexcept |
Copy constructor.
|
inlinevirtual |
Destructor.
|
inlinevirtual |
Returns exception class name.
Reimplemented in RuntimeException, SecurityException, SqlException, KvsException, ClientErrorException, and StandardException.
|
inlinevirtual |
Creates and returns a deep copy of the current data.
Reimplemented in RuntimeException, SecurityException, SqlException, KvsException, ClientErrorException, and StandardException.
|
inline |
Returns the file name.
|
inline |
Return the line number.
|
inline |
Returns the message.
|
inlinevirtual |
Raises the exception.
Reimplemented in RuntimeException, SecurityException, SqlException, KvsException, ClientErrorException, and StandardException.
|
inlineoverridevirtualnoexcept |
|
protected |
|
protected |
|
protected |
|
protected |