|
"Bartell, Aaron L. (TC)" wrote: > > Since the archives seem to be unreachable from my location I will just ask > my question. > > Can you catch thrown Java exceptions from an RPG program that is making use > of Java classes? I looked through the part in the RPG ILE Reference where > they define Java and didn't see anything in there. > Aaron, if a called Java method throws a Java exception, the ILE RPG runtime signals exception message RNX0301. The message has some of the information about the Java exception. To handle it in RPG When you said "ILE RPG Reference" it was maybe just a typo, but it's the ILE RPG Programmer's Guide (Chapter 11) that has almost all the information about calling Java methods.
As an Amazon Associate we earn from qualifying purchases.
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.