TibrvErrorCallback.onError()

Method

Declaration

void onError(
    java.lang.Object tibrvObject,
    int errorCode,
    java.lang.String message,
    java.lang.Throwable internal)

Purpose

Process asynchronous errors.

Remarks

Rendezvous software calls this method in an asynchronous error situation: A subscription (listener) request failed. In this situation, the tibrvObject parameter receives the TibrvListener object representing the failed subscription. This situation is rare.

Programs need not respond the these errors. Programs that do respond to these errors usually inform the user of the problem.

Parameter

Description

tibrvObject

This parameter receives the object that is the locus of the error—a TibrvListener.

errorCode

This parameter receives a status code indicating the error. See TibrvStatus.

message

This parameter receives a printable string describing the error. In some cases, this message yields more information than the error code alone.

internal

In some cases this parameter receives a Java exception, which can yield additional information about the cause of the error. When no further information is available, this parameter receives null.