× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hello everyone,

In our company we are using a java program that serves a external function

A consultant put together an RPG wrapper that calls the java program and
returns the results to the RPG program ( A callable function)

The problem resides here:

When the RPG program invokes the procedure that describes the java
program,
The java program returns java string and it works fine when all conditions
are fine

However, there is no provision for a Java exception error handling in RPG
other than the RPG MONITOR opcode

I have been told that in the case of an exception Java type we have to
manipulate the Java exception in a different way
Is it possible to catch that Java exception error in RPG and how would you
recomend to do it?

How could you get that "Java exception error back in your RPG progarm and
manipulate that information?"

Regards

Jorge A Moreno
Military Car Sales, Inc


This email, including its attachments, may contain information that is
confidential and may be protected by federal and/or state laws and
regulations, or other confidentiality privileges. This email, including
its attachments, may contain non-public information, therefore it is
intended to be conveyed only to the designated recipient(s). If you are
not an intended recipient, please delete this email, including its
attachments, and notify the sender. The unauthorized use, dissemination,
distribution or reproduction of this email, including its attachments, is
prohibited and may be unlawful.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.