MyCQ.MyCQException Class Reference

Represents the exception that is thrown when MyCQClient, UserManager, QueueManager and CQManager are not able to complete a operation. More...

List of all members.

Public Member Functions

int getCode ()
 Get the code of an exception.
string getMessage ()
 Get the message of an exception.
 MyCQException (int code, string message)
 Constructor.

Public Attributes

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

Detailed Description

Represents the exception that is thrown when MyCQClient, UserManager, QueueManager and CQManager are not able to complete a operation.


Constructor & Destructor Documentation

MyCQ.MyCQException.MyCQException ( int  code,
string  message 
)

Constructor.

Parameters:
code Exception code.
message Exception message.

Member Function Documentation

int MyCQ.MyCQException.getCode (  ) 

Get the code of an exception.

Returns:
An integer number of an exception code.
string MyCQ.MyCQException.getMessage (  ) 

Get the message of an exception.

Returns:
A message string.

Member Data Documentation

connection failed.

login failed.

invalid CQ name.

invalid CQ result queue size.

invalid CQ statement.

operation failed.

invalid heart beat value.

invalid queue name.

invalid date value.

invalid datetime value.

invalid column index.

invalid column size.

invalid time value.

invalid column value.

read only message.

const int MyCQ.MyCQException.QM_FAILED = 3001

operation failed.

invalid queue column.

invalid queue name.

invalid queue schema.

invalid queue size.

get failed.

get start failed.

get stop failed.

invalid message.

invalid queue.

put failed.

invalid column name.

invalid column size.

const int MyCQ.MyCQException.UM_FAILED = 2001

operation failed.

invalid password.

invalid user name.

invalid user type.


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