qTbot 0.2.107.d8fc923
qTbot is base back end library for your c++ Qt projects.
qTbot::HttpException Class Reference

The HttpException class is base exaption that will raise on all errors of the HTTP protocol,. More...

#include <httpexception.h>

Public Member Functions

 HttpException (QNetworkReply::NetworkError code, const QByteArray &erroString={})
 
const char * what () const noexcept override
 
void raise () const override
 
QException * clone () const override
 
QNetworkReply::NetworkError code () const
 

Detailed Description

The HttpException class is base exaption that will raise on all errors of the HTTP protocol,.

Definition at line 20 of file httpexception.h.

Inheritance diagram for qTbot::HttpException:
Inheritance graph
Collaboration diagram for qTbot::HttpException:
Collaboration graph

Constructor & Destructor Documentation

◆ HttpException()

qTbot::HttpException::HttpException ( QNetworkReply::NetworkError  code,
const QByteArray &  erroString = {} 
)

Definition at line 12 of file httpexception.cpp.

Here is the call graph for this function:

Member Function Documentation

◆ clone()

QException * qTbot::HttpException::clone ( ) const
override

Definition at line 34 of file httpexception.cpp.

◆ code()

QNetworkReply::NetworkError qTbot::HttpException::code ( ) const

Definition at line 39 of file httpexception.cpp.

Here is the caller graph for this function:

◆ raise()

void qTbot::HttpException::raise ( ) const
override

Definition at line 30 of file httpexception.cpp.

◆ what()

const char * qTbot::HttpException::what ( ) const
overridenoexcept

Definition at line 26 of file httpexception.cpp.


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