TibrvErrorCallback.onError()
Method
Declaration
voidonError
(
java.lang.Object tibrvObject,
int errorCode,
java.lang.String message,
java.lang.Throwable internal)
Purpose
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 |
|
This parameter receives the object that is the locus of the error—a TibrvListener. |
|
This parameter receives a status code indicating the error. See TibrvStatus. |
|
This parameter receives a printable string describing the error. In some cases, this message yields more information than the error code alone. |
|
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 |