NCBI C++ ToolKit
|
Search Toolkit Book for CCgiParseException
#include <cgi/cgi_exception.hpp>
Public Types | |
enum | EErrCode { eIndex = CCgiRequestException::eIndex , eEntry = CCgiRequestException::eEntry , eAttribute = CCgiRequestException::eAttribute , eRead = CCgiRequestException::eRead , eFormat = CCgiRequestException::eFormat } |
Public Types inherited from CParseTemplException< CCgiRequestException > | |
enum | EErrCode |
Error types that for exception class. More... | |
typedef int | TErrCode |
Public Member Functions | |
NCBI_EXCEPTION_DEFAULT2 (CCgiParseException, CParseTemplException< CCgiRequestException >, std::string::size_type) | |
Public Member Functions inherited from CParseTemplException< CCgiRequestException > | |
virtual const char * | GetErrCodeString (void) const override |
Translate from the error code value to its string representation. More... | |
CParseTemplException (const CDiagCompileInfo &info, const CException *prev_exception, EErrCode err_code, const string &message, string::size_type pos, EDiagSev severity=eDiag_Error) | |
Constructor. More... | |
CParseTemplException (const CParseTemplException< CCgiRequestException > &other) | |
Constructor. More... | |
virtual | ~CParseTemplException (void) noexcept |
Destructor. More... | |
virtual void | ReportExtra (ostream &out) const override |
Report error position. More... | |
virtual const char * | GetType (void) const override |
Get exception class type. More... | |
TErrCode | GetErrCode (void) const |
Get error code. More... | |
string::size_type | GetPos (void) const noexcept |
Get error position. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from CParseTemplException< CCgiRequestException > | |
CParseTemplException (const CDiagCompileInfo &info, const CException *prev_exception, const string &message, string::size_type pos, EDiagSev severity, CException::TFlags flags) | |
CParseTemplException (void) | |
Constructor. More... | |
virtual const CException * | x_Clone (void) const override |
Helper clone method. More... | |
Exceptions used by CGI framework when the error has occured while parsing the contents (header and/or body) of the HTTP request
Definition at line 237 of file cgi_exception.hpp.