This class defines error constants associated with a QAnywhere client application.
public class QAError
All members of QAError class, including all inherited members.
Name | Description |
---|---|
The QAManager is already open. | |
Unable to access the client properties file. | |
Error retrieving the property. | |
Error getting queue depth. | |
Cannot use QAManagerBase.getQueueDepth on a given destination when filter is ALL. | |
Cannot use QAManagerBase.getQueueDepth when the message store ID has not been set. | |
Initialization error. | |
Error initializing the background thread. | |
There is an invalid property in the client properties file. | |
Error acknowledging the message. | |
Error canceling message. | |
Error canceling message. | |
You cannot write to a message as it is in read-only mode. | |
Error retrieving a message from the client message store. | |
Error storing a message in the client message store. | |
The message store has not been initialized for messaging. | |
The message store is too large relative to the free disk space on the device. | |
No destination. | |
The function is not implemented. | |
The QAManager is not open. | |
Error opening a connection to the message store. | |
Error opening the log file. | |
Cannot open the QAManager because the maximum number of concurrent server requests is not high enough. | |
The given selector has a syntax error. | |
Error setting the property. | |
Termination error. | |
Unexpected end of message reached. | |
The timestamp is outside of the acceptable range. | |
No error. |
A QAError object is used internally by the QAManager object to keep track of errors associated with messaging operations. The application programmer should not need to create an instance of this class. The error constants should be used by the application programmer to interpret error codes returned by QAManager::getLastError
Assume your QAManager instance is called qa_mgr. The following example, uses the QAManager::getLastError method to compare the last error code to QAError::QA_NO_ERROR.
if (qa_mgr->getLastError() != QAError::QA_NO_ERROR) { // Process error. } |
COMMON_ALREADY_OPEN_ERROR variable
COMMON_GET_INIT_FILE_ERROR variable
COMMON_GET_PROPERTY_ERROR variable
COMMON_GETQUEUEDEPTH_ERROR variable
COMMON_GETQUEUEDEPTH_ERROR_INVALID_ARG variable
COMMON_GETQUEUEDEPTH_ERROR_NO_STORE_ID variable
COMMON_INIT_ERROR variable
COMMON_INIT_THREAD_ERROR variable
COMMON_INVALID_PROPERTY variable
COMMON_MSG_ACKNOWLEDGE_ERROR variable
COMMON_MSG_CANCEL_ERROR variable
COMMON_MSG_CANCEL_ERROR_SENT variable
COMMON_MSG_NOT_WRITEABLE_ERROR variable
COMMON_MSG_RETRIEVE_ERROR variable
COMMON_MSG_STORE_ERROR variable
COMMON_MSG_STORE_NOT_INITIALIZED variable
COMMON_MSG_STORE_TOO_LARGE variable
COMMON_NO_DEST_ERROR variable
COMMON_NO_IMPLEMENTATION variable
COMMON_NOT_OPEN_ERROR variable
COMMON_OPEN_ERROR variable
COMMON_OPEN_LOG_FILE_ERROR variable
COMMON_OPEN_MAXTHREADS_ERROR variable
COMMON_SELECTOR_SYNTAX_ERROR variable
COMMON_SET_PROPERTY_ERROR variable
COMMON_TERMINATE_ERROR variable
COMMON_UNEXPECTED_EOM_ERROR variable
COMMON_UNREPRESENTABLE_TIMESTAMP variable
QA_NO_ERROR variable
Discuss this page in DocCommentXchange.
|
Copyright © 2012, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.1 |