public QAException
Encapsulates QAnywhere client application exceptions.
You can use the QAException class to catch QAnywhere exceptions.
try { _qaManager = QAManagerFactory.getInstance().CreateQAManager(); _qaManager.open(AcknowledgementMode.EXPLICIT_ACKNOWLEDGEMENT); _qaManager.start(); } catch(QAException e) { // Handle exception. System.err.println("Error code: " + e.getErrorCode()); System.err.println("Error message: " + e.getMessage()); System.err.println("Native error code: " + e.getNativeErrorCode()); System.err.println("Detailed error message: " + e.getDetailedMessage()); } |
All members of ianywhere.qanywhere.client.QAException, 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
getDetailedMessage method
getErrorCode method
getNativeErrorCode method
QA_NO_ERROR variable
QAException method
Discuss this page in DocCommentXchange. Send feedback about this page using email. |
Copyright © 2009, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.1 |