|
LeftHookRoll
An HTTP/1.0 compliant web server, as specified by RFC1945
|
Exception type for failures scoped to a single client request. More...
#include <FatalExceptions.hpp>
Public Member Functions | |
| ClientException (int statusCode, const std::string &msg) | |
| ClientException (const ClientException &other) | |
| ClientException & | operator= (const ClientException &other) |
| virtual | ~ClientException () throw () |
| virtual const char * | what () const throw () |
| int | getStatusCode () const |
Private Attributes | |
| int | _statusCode |
| std::string | _msg |
Exception type for failures scoped to a single client request.
Throw this from request/response/CGI runtime paths when the server stays operable and the connection should produce an HTTP error response.
Definition at line 30 of file FatalExceptions.hpp.
| ClientException::ClientException | ( | int | statusCode, |
| const std::string & | msg | ||
| ) |
Definition at line 21 of file FatalExceptions.cpp.
| ClientException::ClientException | ( | const ClientException & | other | ) |
Definition at line 24 of file FatalExceptions.cpp.
|
virtual | |||||||||||||
Definition at line 37 of file FatalExceptions.cpp.
| ClientException & ClientException::operator= | ( | const ClientException & | other | ) |
Definition at line 27 of file FatalExceptions.cpp.
|
virtual | |||||||||||||
Definition at line 39 of file FatalExceptions.cpp.
| int ClientException::getStatusCode | ( | ) | const |
Definition at line 44 of file FatalExceptions.cpp.
|
private |
Definition at line 42 of file FatalExceptions.hpp.
|
private |
Definition at line 43 of file FatalExceptions.hpp.