Can A Business Process Have A Fault Defined For Each Exception Thrown In A JCD? (Doc ID 1338305.1)

Last updated on NOVEMBER 02, 2016

Applies to:

Oracle Java CAPS Enterprise Service Bus - Version R6 U1 and later
Information in this document applies to any platform.
***Checked for relevance on 03-Jul-2013***

Goal

Have a repository based project containing a Business Process that invokes a JCD. The JCD can raise multiple types of custom exceptions (eg. PropertyNotFound Exception, InvalidRequest Exception). At the Business Process level there is only one fault defined for the JCD (eg. ns:javaexception) and hence only one exception handler is defined for this fault in the Business Process.

Is it possible for the Business Process to have a fault defined for each custom exception that can be thrown in the JCD? This will then allow for one exception handler to be defined in the Business Process for each custom exception raised in the JCD. (eg. If the JCD can raise a PropertyNotFound Exception or an InvalidRequest Exception, then the requirement is to have two exception handlers in the Business Process - one for the PropertyNotFound Exception and another for the InvalidRequest Exception).

Solution

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms