Mailing List ArchiveSupport open source code!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: java question
- To: tlug group <tlug@example.com>
- Subject: Re: java question
- From: "Thomas O'Dowd" <tom@example.com>
- Date: Thu, 14 Jun 2001 17:26:14 +0900
- Content-Disposition: inline
- Content-Type: text/plain; charset=us-ascii
- In-Reply-To: <15144.28266.165437.526621@example.com>; from turnbull@example.com on Thu, Jun 14, 2001 at 04:57:30PM +0900
- References: <3B278493.388731B4@example.com> <20010614004711.B657@example.com> <3B286744.CC3849EA@example.com> <20010614165520.X657@example.com> <15144.28266.165437.526621@example.com>
- Reply-To: tlug@example.com
- Resent-From: tlug@example.com
- Resent-Message-ID: <abfNZ.A.LT.kQHK7@example.com>
- Resent-Sender: tlug-request@example.com
- User-Agent: Mutt/1.2.5i
On Thu, Jun 14, 2001 at 04:57:30PM +0900, Stephen J. Turnbull wrote: > >>>>> "Thomas" == Thomas O'Dowd <tom@example.com> writes: > > Thomas> this is because javac just sees that an exception may be > Thomas> thrown during parseInt() and someInt may never be defined, > Thomas> although we are looping to prevent that anyway > > Note that javac is correct here, as you are not catching all possible > exceptions. Suppose the user SIGINTs, or the string creation routine > ENOMEM's, for example. This doesn't effect things here though. If a runtimeexception is thrown, and you don't catch it, your program will pop out to a stacktrace and if you do catch it, then you can handle it appriopriately. In this particular case, javac is just trying to help out, pointing out a potential programming error where a variable might be used uninitialised. It isn't needed though in this case as it will never happen. Still, I like the fact that it checks these simple errors for you. Yes, linux can run java (see, this post is on topic :) Tom. -- Thomas O'Dowd. - Nooping - http://nooper.com tom@example.com - Testing - http://nooper.co.jp/labs
- References:
- java question
- From: B0Ti <9915104t@example.com>
- Re: java question
- From: "Thomas O'Dowd" <tom@example.com>
- Re: java question
- From: B0Ti <9915104t@example.com>
- Re: java question
- From: "Thomas O'Dowd" <tom@example.com>
- Re: java question
- From: "Stephen J. Turnbull" <turnbull@example.com>
Home | Main Index | Thread Index
- Prev by Date: Re: java question
- Next by Date: Re: Kernel Panic during setting up RAID!
- Prev by thread: Re: java question
- Next by thread: Re: java question
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links