My Oracle Support Banner

How To Return Exception From Synchronous Call To Invocation Service? (Doc ID 974250.1)

Last updated on OCTOBER 23, 2023

Applies to:

Oracle Coherence - Version 3.4.2 and later
Information in this document applies to any platform.

Goal

Use an invocation service and call it with Service.query which is a synchronous call. If the service throws an exception during processing, it should be captured. The asynchronous API has a way to do this with the execute() method and an InvocationObserver.

What is the mechanism for the synchronous invocation API to return an exception?

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.