× 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.



Adele Cavalli wrote:
> 
> I changed the name to SystemDefault.properties and now
> I got both .txt files in my homedir but they are
> EMPTY.
> 

Hmm.  I just tried this again, and it does work with anything printed by
System.out.println or System.err.println, but it doesn't seem to get the
exception information.

I think that might be a limitation of RPG.  When the RPG runtime makes
your method call, it checks for a JNI exception, and if one occurred, it
sends the RNX0301 message.  The RPG runtime -could- (but doesn't
currently) call a JNI function called ExceptionDescribe that would
output the exception information to stderr.  And since the RPG runtime
then handles the JNI exception, it's not possible for the RPG program to
later call ExceptionDescribe itself.

It might be possible in the future to have an environment variable that
would tell the RPG runtime to call ExceptionDescribe for exceptions on
method calls.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.