On 9/25/2018 2:08 PM, Gerald Magnuson wrote:
I am getting the following errors:
Recv.java:39: error: unreported exception PcmlException; must be caught or
declared to be thrown
pcd = new ProgramCallDocument (as400, "GETMQMSG");

You need to surround the code in a try / catch block and 'catch' the PcmlException.

Are you getting this error at run time or compile time?

david



This thread ...

Follow-Ups:
Replies:

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

This mailing list archive is Copyright 1997-2026 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.