Open topic with navigation

TIBCO Rendezvous® 8.7.0

# 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`.

Did you find this helpful?

Yes No
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

TIBCO Rendezvous®

Copyright © 1997-2023. Cloud Software Group, Inc. All Rights Reserved.