Article View: borland.public.jbuilder.java.language
Article #16776Re: can't catch IOExceptions!!!!
From: Tor Iver Wilhelmsen
Date: Tue, 19 Jan 1999 00:00
Date: Tue, 19 Jan 1999 00:00
14 lines
897 bytes
897 bytes
"Marcel Hell" <MLP.HELL@student.unimaas.nl> writes:
> void jButton2_actionPerformed(ActionEvent e) {
> String que= textField1.getText();
> String zie= textField2.getText();
> kodiere(que,zie);
This method calls a method which can throw an IOException, but the
method does not declare that it "passes it on":
void jButton2_actionPerformed(ActionEvent e) throws IOException {
...
is what you want.
Technical Details
Message-ID:
<uognv4bw8.fsf@sds.no>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<782105$bbo8@forums.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,986058edfa4b9616 X-Google-Attributes: gidf74b3,public From: Tor Iver Wilhelmsen <tor.wilhelmsen@sds.no> Subject: Re: can't catch IOExceptions!!!! Date: 1999/01/19 Message-ID: <uognv4bw8.fsf@sds.no> X-Deja-AN: 434403651 Sender: towi@SDSA1761 References: <782105$bbo8@forums.borland.com> Organization: Another Netscape Collabra Server User Newsgroups: borland.public.jbuilder.java.language