CGI Exception
[CGI]

Collaboration diagram for CGI Exception:


Classes

class  CCgiException
struct  SCgiStatus
class  CCgiCookieException
 CCgiCookieException --. More...
class  CCgiRequestException
 CCgiRequestException --. More...
class  CCgiParseException
 CCgiParseException --. More...
class  CCgiErrnoException
 CCgiErrnoException --. More...
class  CCgiArgsException
 CCgiArgsException --. More...
class  CCgiArgsParserException
 CCgiArgsParserException --. More...
class  CCgiResponseException
 CCgiResponseException --. More...
class  CCgiSessionException
 CCgiSessionException --. More...

Defines

#define NCBI_CGI_THROW_WITH_STATUS(exception, err_code, message, status)
#define NCBI_CGI_THROW2_WITH_STATUS(exception, err_code,message, extra, status)

Functions

CCgiExceptionCCgiException::SetStatus (const SCgiStatus &status)


Define Documentation

#define NCBI_CGI_THROW2_WITH_STATUS exception,
err_code,
message,
extra,
status   ) 
 

Value:

{                                                                     \
        NCBI_EXCEPTION2_VAR(cgi_exception, exception,                     \
                            err_code, message, extra);                    \
        cgi_exception.SetStatus( (status) );                              \
        NCBI_EXCEPTION_THROW(cgi_exception);                              \
    }

Definition at line 403 of file cgi_exception.hpp.

#define NCBI_CGI_THROW_WITH_STATUS exception,
err_code,
message,
status   ) 
 

Value:

{                                                                    \
        NCBI_EXCEPTION_VAR(cgi_exception, exception, err_code, message); \
        cgi_exception.SetStatus( (status) );                             \
        NCBI_EXCEPTION_THROW(cgi_exception);                             \
    }

Definition at line 395 of file cgi_exception.hpp.


Function Documentation

CCgiException & CCgiException::SetStatus const SCgiStatus status  )  [inline, inherited]
 

Definition at line 413 of file cgi_exception.hpp.

References SCgiStatus::m_Code, SCgiStatus::m_Message, CCgiException::m_StatusCode, and CCgiException::m_StatusMessage.


Generated on Wed Dec 9 08:14:02 2009 for NCBI C++ ToolKit by  doxygen 1.4.6
Modified on Wed Dec 09 08:20:18 2009 by modify_doxy.py rev. 173732