Classes | Enumerations

Beesnest/DcException.h File Reference

#include "DcString.h"

Go to the source code of this file.

Classes

class  CdcException
 CdcException is the base class for the exceptions class. More...

Enumerations

enum  t_exception_num {
  DC_GENERAL_EXP = 0, DC_FILE_EXP = 10, DC_FILE_NOT_FOUND_EXP, DC_WRONG_FILE_TYPE_EXP,
  DC_WRONG_FILE_FORMAT_EXP, DC_PARSE_EXP = 20, DC_CNT_PRS_REQ_EXP, DC_CNT_PRS_REQ_LINE_EXP,
  DC_CNT_PRS_HEADER_EXP, DC_CNT_PRS_QUERY_EXP, DC_CNT_PRS_CNK_EXP, DC_NOT_SUPPORT
}
 

Exceptions thrown in this program.

More...

Enumeration Type Documentation

Exceptions thrown in this program.

Enumerator:
DC_GENERAL_EXP 

General exception.

DC_FILE_EXP 

General file exception.

DC_FILE_NOT_FOUND_EXP 

Server cannot find the requested file under its root directory.

DC_WRONG_FILE_TYPE_EXP 

The system request a text/binary file in a binary/text format.

DC_WRONG_FILE_FORMAT_EXP 

The format of the parameters file is wrong.

DC_PARSE_EXP 

General parsing exception.

DC_CNT_PRS_REQ_EXP 

Cannot parse the request message.

DC_CNT_PRS_REQ_LINE_EXP 

Cannot parse the request line.

DC_CNT_PRS_HEADER_EXP 

Cannot parse header line.

DC_CNT_PRS_QUERY_EXP 

Cannot parse query.

DC_CNT_PRS_CNK_EXP 

Cannot parse chunk request.

DC_NOT_SUPPORT 

Request method is not supported.

Definition at line 27 of file DcException.h.