◐ Shell
reader mode source ↗
TreeFrogFramework 2.10
Searching...
No Matches
ClientErrorException Class Reference

#include <tfexception.h>

Inheritance diagram for ClientErrorException:
Collaboration diagram for ClientErrorException:

Public Member Functions

 ClientErrorException (int statusCode, const char *fileName="", int lineNumber=0)
 
 
 
std::exception * clone () const override
 
QString className () const override
 
- Public Member Functions inherited from TfException
 
 TfException (const TfException &e) noexcept
 
 
QString message () const
 
 
int lineNumber () const
 
virtual const char * what () const noexcept override
 

Additional Inherited Members

- Protected Attributes inherited from TfException
 
QString file
 
int line {0}
 
QByteArray whatmsg
 

Detailed Description

The ClientErrorException class represents an exception that can be thrown when communication error with a HTTP client occurs.

Constructor & Destructor Documentation

◆ ClientErrorException()

ClientErrorException::ClientErrorException ( int  statusCode,
const char *  fileName = "",
int  lineNumber = 0 
)
inline

Copy constructor.

Constructor.

Member Function Documentation

◆ className()

QString ClientErrorException::className ( ) const
inlineoverridevirtual

Returns exception class name.

Reimplemented from TfException.

◆ clone()

Exception * ClientErrorException::clone ( ) const
inlineoverridevirtual

Creates and returns a deep copy of the current data.

Reimplemented from TfException.

◆ raise()

void ClientErrorException::raise ( ) const
inlineoverridevirtual

Raises the exception.

Reimplemented from TfException.

◆ statusCode()

int ClientErrorException::statusCode ( ) const
inline

Returns the status code.


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