Search the web
Sign In
New User? Sign Up
ibm-netrexx
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Question   Message List  
Reply | Forward Message #1478 of 1480 |
..
..

class aBC.ZipList dependent
method ziplist( z = Rexx )
do
zf = ZipFile( z )
enum = zf.entries()
catch IOException
say "Error - "
loop while enum.hasMoreElements()
e = enum.nextElement()
say e
end
finally
zf.close()
end
return
..
..


The a/m class receives an filename obtained from a JFileChooser, the
following error is received during compilation and the highlighted error is
in the method ziplist( z = Rexx ) instrucction.

"due to a forward reference to this method, the following exceptions must be
explicitly specified as a SIGNALS list:
IOException"


the command calling is as shown.:

..
..
parent.ziplist( archive2open )
..
..



Any help is appreciated.

Enrique


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe from this mailing list ( ibm-netrexx ), please send a note to
majordomo@...
with the following message in the body of the note
unsubscribe ibm-netrexx <e-mail address>



Wed Aug 31, 2005 12:09 pm

britten@...
Send Email Send Email

Forward
Message #1478 of 1480 |
Expand Messages Author Sort by Date

.. .. class aBC.ZipList dependent method ziplist( z = Rexx ) do zf = ZipFile( z ) enum = zf.entries() catch IOException say "Error - " loop while...
britten@...
Send Email
Aug 31, 2005
12:09 pm

... Your method could throw an IOException, and to resolve the forward reference the compiler is asking you to add 'signals IOException' to the method...
Mike Cowlishaw
MFC@...
Send Email
Aug 31, 2005
12:27 pm

How can I declare in a class a variable of type boolean with a default value. I have the following and according to the doc's I have read this should contain a...
britten /Quique Britt...
britten@...
Send Email
Sep 30, 2005
10:41 am
< Prev Topic  |  Next Topic >
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help