Webdar 1.0.0
Web user interface to libdar
Public Member Functions | Protected Member Functions | List of all members
exception_input Class Reference

exception used to report an request error from the http client More...

#include <exceptions.hpp>

Inheritance diagram for exception_input:
Inheritance graph
[legend]
Collaboration diagram for exception_input:
Collaboration graph
[legend]

Public Member Functions

 exception_input (const std::string &msg, unsigned int error_code)
 
unsigned int get_error_code () const
 
- Public Member Functions inherited from exception_base
 exception_base (const std::string &x_msg)
 
const std::string & get_message () const
 
void change_message (const std::string &x_msg)
 
virtual exception_baseclone () const =0
 

Protected Member Functions

virtual exception_baseclone () const override
 

Detailed Description

exception used to report an request error from the http client

Note
at the difference of the exception_range type, this exception is used when the user request is syntaxically correct but a field value has an unexpected value. This implies that we can and must answer to by a error HTTP answer which code and reason phrase is carried by this exception. Further request can be processed on the same connexion.

Member Function Documentation

◆ clone()

virtual exception_base * exception_input::clone ( ) const
inlineoverrideprotectedvirtual

Implements exception_base.


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