NCBI C++ ToolKit
Public Types | Public Member Functions | List of all members
CCgiParseException Class Reference

Search Toolkit Book for CCgiParseException

CCgiParseException –. More...

#include <cgi/cgi_exception.hpp>

+ Inheritance diagram for CCgiParseException:
+ Collaboration diagram for CCgiParseException:

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 CExceptionx_Clone (void) const override
 Helper clone method. More...
 

Detailed Description

CCgiParseException –.

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.


The documentation for this class was generated from the following file:
Modified on Fri Sep 20 14:58:24 2024 by modify_doxy.py rev. 669887