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

SQL Anywhere 11.0.1 (Deutsch) » QAnywhere » QAnywhere-Referenz » QAnywhere Java-API-Referenz » QAnywhere Java-API für Clients

 

QAException-Klasse

Syntax
public QAException
Bemerkungen

Verkapselt Ausnahmebedingungen einer QAnywhere-Clientanwendung.

Sie können die QAException-Klasse verwenden, um QAnywhere-Ausnahmebedingungen abzufangen.

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());
}
Mitglieder

Alle Mitglieder von ianywhere.qanywhere.client.QAException, einschließlich aller geerbten Mitglieder


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-Methode
getErrorCode-Methode
getNativeErrorCode-Methode
QA_NO_ERROR-Variable
QAException-Methode