mycq::MyCQException Class Reference

Represents the exception that is thrown when CMyCQClient, CUserManager, CQueueManager and CCQManager are not able to complete a operation. More...

#include <MyCQException.h>

List of all members.

Public Member Functions

int getCode () const
 get exception code.
string getMessage () const
 get exception message.
 MyCQException (int code, string message)
 constructor
 ~MyCQException (void)
 destructor

Static Public Attributes

static const int CLIENT_CONNECTION = 1001
 connection failed.
static const int CLIENT_LOGIN = 1002
 login failed.
static const int UM_FAILED = 2001
 operation failed.
static const int UM_USERNAME = 2002
 invalid user name.
static const int UM_PASSWORD = 2003
 invalid password.
static const int UM_USERTYPE = 2004
 invalid user type.
static const int QM_FAILED = 3001
 operation failed.
static const int QM_QUEUE_NAME = 3002
 invalid queue name.
static const int QM_QUEUE_SCHEMA = 3003
 invalid queue schema.
static const int QM_QUEUE_COLUMN = 3004
 invalid queue column.
static const int QM_QUEUE_SIZE = 3005
 invalid queue size.
static const int CQM_FAILED = 5001
 operation failed.
static const int CQM_CQ_NAME = 5002
 invalid CQ name.
static const int CQM_CQ_STATEMENT = 5003
 invalid CQ statement.
static const int CQM_QUEUE_NAME = 5004
 invalid queue name.
static const int CQM_HEART_BEAT = 5005
 invalid heart beat value.
static const int CQM_CQ_RESULT_QUEUE_SIZE = 5006
 invalid CQ result queue size.
static const int QUEUE_INVALID_QUEUE = 7001
 invalid queue.
static const int QUEUE_INVALID_MESSAGE = 7002
 invalid message.
static const int QUEUE_PUT_FAILED = 7003
 put failed.
static const int QUEUE_GET_FAILED = 7004
 get failed.
static const int QUEUE_GET_START = 7005
 get start failed.
static const int QUEUE_GET_STOP = 7006
 get stop failed.
static const int QUEUE_SCHEMA_INVALID_COLUMN_NAME = 7501
 invalid column name.
static const int QUEUE_SCHEMA_INVALID_COLUMN_SIZE = 7502
 invalid column size.
static const int MSG_COLUMN_NAME = 9001
 invalid column size.
static const int MSG_COLUMN_INDEX = 9002
 invalid column index.
static const int MSG_COLUMN_DATE = 9003
 invalid date value.
static const int MSG_COLUMN_TIME = 9004
 invalid time value.
static const int MSG_COLUMN_DATETIME = 9005
 invalid datetime value.
static const int MSG_COLUMN_VALUE = 9006
 invalid column value.
static const int MSG_READ_ONLY = 9007
 read only message.

Detailed Description

Represents the exception that is thrown when CMyCQClient, CUserManager, CQueueManager and CCQManager are not able to complete a operation.


Member Function Documentation

int mycq::MyCQException::getCode (  )  const

get exception code.

string mycq::MyCQException::getMessage (  )  const

get exception message.


Member Data Documentation

const int mycq::MyCQException::CLIENT_CONNECTION = 1001 [static]

connection failed.

const int mycq::MyCQException::CLIENT_LOGIN = 1002 [static]

login failed.

const int mycq::MyCQException::CQM_CQ_NAME = 5002 [static]

invalid CQ name.

invalid CQ result queue size.

const int mycq::MyCQException::CQM_CQ_STATEMENT = 5003 [static]

invalid CQ statement.

const int mycq::MyCQException::CQM_FAILED = 5001 [static]

operation failed.

const int mycq::MyCQException::CQM_HEART_BEAT = 5005 [static]

invalid heart beat value.

const int mycq::MyCQException::CQM_QUEUE_NAME = 5004 [static]

invalid queue name.

const int mycq::MyCQException::MSG_COLUMN_DATE = 9003 [static]

invalid date value.

const int mycq::MyCQException::MSG_COLUMN_DATETIME = 9005 [static]

invalid datetime value.

const int mycq::MyCQException::MSG_COLUMN_INDEX = 9002 [static]

invalid column index.

const int mycq::MyCQException::MSG_COLUMN_NAME = 9001 [static]

invalid column size.

const int mycq::MyCQException::MSG_COLUMN_TIME = 9004 [static]

invalid time value.

const int mycq::MyCQException::MSG_COLUMN_VALUE = 9006 [static]

invalid column value.

const int mycq::MyCQException::MSG_READ_ONLY = 9007 [static]

read only message.

const int mycq::MyCQException::QM_FAILED = 3001 [static]

operation failed.

const int mycq::MyCQException::QM_QUEUE_COLUMN = 3004 [static]

invalid queue column.

const int mycq::MyCQException::QM_QUEUE_NAME = 3002 [static]

invalid queue name.

const int mycq::MyCQException::QM_QUEUE_SCHEMA = 3003 [static]

invalid queue schema.

const int mycq::MyCQException::QM_QUEUE_SIZE = 3005 [static]

invalid queue size.

const int mycq::MyCQException::QUEUE_GET_FAILED = 7004 [static]

get failed.

const int mycq::MyCQException::QUEUE_GET_START = 7005 [static]

get start failed.

const int mycq::MyCQException::QUEUE_GET_STOP = 7006 [static]

get stop failed.

const int mycq::MyCQException::QUEUE_INVALID_MESSAGE = 7002 [static]

invalid message.

const int mycq::MyCQException::QUEUE_INVALID_QUEUE = 7001 [static]

invalid queue.

const int mycq::MyCQException::QUEUE_PUT_FAILED = 7003 [static]

put failed.

invalid column name.

invalid column size.

const int mycq::MyCQException::UM_FAILED = 2001 [static]

operation failed.

const int mycq::MyCQException::UM_PASSWORD = 2003 [static]

invalid password.

const int mycq::MyCQException::UM_USERNAME = 2002 [static]

invalid user name.

const int mycq::MyCQException::UM_USERTYPE = 2004 [static]

invalid user type.


The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables Enumerations Enumerator
MyCQ C++ User's Document. Copyright@MyCQ Inc., All Rights Reserved.