Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 » QAnywhere » QAnywhere Reference » QAnywhere C++ API reference

 

QAError class

Syntax
public QAError
Remarks

This class defines error constants associated with a QAnywhere client application.

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 getLastError.

if (qa_mgr->getLastError() != QAError::QA_NO_ERROR) {
    // Process error.
}
See Also

getLastErrorMsg function

Members

All members of QAError, including all inherited members.


COMMON_ALREADY_OPEN_ERROR variable
COMMON_GETQUEUEDEPTH_ERROR variable
COMMON_GETQUEUEDEPTH_ERROR_INVALID_ARG variable
COMMON_GETQUEUEDEPTH_ERROR_NO_STORE_ID variable
COMMON_GET_INIT_FILE_ERROR variable
COMMON_GET_PROPERTY_ERROR 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_NOT_OPEN_ERROR variable
COMMON_NO_DEST_ERROR variable
COMMON_NO_IMPLEMENTATION 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