Article View: borland.public.jbuilder.java.language
Article #8283Re: How can open data file ?
From: Hilton Evans
Date: Thu, 05 Apr 2001 13:39
Date: Thu, 05 Apr 2001 13:39
18 lines
1483 bytes
1483 bytes
"Gary" <seawr@yahoo.com> wrote in message news:3acb3936$1_1@dnews...
>
> }catch(IOException e)
> {
> System.out.println("file not found");
> }
>
By printing your own exception handler message you are assuming
that the exception derives from a file not found. As John
suggested you should print out the actual exception message
using e.printStackTrace();
--
Hilton Evans
-----------------------------------------------
ChemPen Chemical Structure Software
http://home.earthlink.net/~hiltonevans/chempen.htm
Technical Details
Message-ID:
<3acc75b6_1@dnews>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnewsReferences:
<3acb3936$1_1@dnews>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,a515c97aea6c453 X-Google-Attributes: gidf74b3,public X-Google-ArrivalTime: 2001-04-05 09:04:03 PST Reply-To: "Hilton Evans" <hfevans@hotmail.com> From: "Hilton Evans" <hfevans@hotmail.com> Newsgroups: borland.public.jbuilder.java.language References: <3acb3936$1_1@dnews> Subject: Re: How can open data file ? Date: Thu, 5 Apr 2001 09:39:58 -0400 Lines: 19 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 NNTP-Posting-Host: 63.214.127.54 Message-ID: <3acc75b6_1@dnews> X-Trace: dnews 986478006 63.214.127.54 (5 Apr 2001 06:40:06 -0700) Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews