|
Mike, There are numerous posts on this topic in the archives. Have you done a search on "Java Exceptions"? There are some examples of how to do this programmatically. If your looking for a simple mechanism to resolve an immediate problem, you redirect your "stderr" output to a text file. The following URL links to an article by Barbara Morris on how to do this via your SystemDefault.properties file and the environment variable QIBM_USE_DESCRIPTOR_STDIO. http://www.midrangeserver.com/mgo/mgo080603-story02.html HTH... Michael Rooney Citigroup International -----Original Message----- From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx]On Behalf Of Mike Wills Sent: Friday, August 27, 2004 12:37 PM To: Midrange_RPG400_L Subject: Capturing a Java error message I am trying to figure out why I am getting an error in a RPG/Java interface. I only get back part of the error so it makes it hard to troubleshoot. Is there a way I can get the complete java error message? -- Mike Wills iSeries Programmer/Lawson Administrator koldark@xxxxxxxxx http://www.koldark.net Want Gmail? Email koldark+gmail@xxxxxxxxx to get on my waiting list. -- This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/rpg400-l or email: RPG400-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/rpg400-l.
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.