🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #360

Re: can't use Calendar or GregorianCalendar classes: "Hit uncaught exception java.io.FileNotFoundException"

#360
From: Lori M Olson [TeamB]
Date: Mon, 25 Apr 2005 01:17
34 lines
2225 bytes
Henry Eck wrote:

> A little more info.. I found that if I enclose the whole thing in a try
> {}catch{}, then it seems to work, in spite of the exception.
> 
> I'm still not very comfortable using this with financial data, so any help
> or insight about the exception would be appreciated :-)
> 

Weird.

I'm not sure if this will help, but I have never used "new 
GregorianCalendar(...)" for anything.  I always use 
"Calendar.getInstance(...)".  I'm not even sure why anymore... I'm sure 
there was some good API reason back in JDK 1.1 or 1.2.

-- 

Regards,

Lori Olson [TeamB]

------------

Save yourself, and everyone else, some time and search the
newsgroups and the FAQ-O-Matic before posting your next
question.

Google Advanced Newsgroup Search
     http://www.google.ca/advanced_group_search
Other Newsgroup Searches:
     http://www.borland.com/newsgroups/ngsearch.html
Joi Ellis's FAQ-O-Matic:
     http://www.visi.com/~gyles19/fom-serve/cache/1.html
Technical Details
Message-ID: <426c454d$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!news.alt.net!pd7cy2so!pd7cy1no!shaw.ca!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!news-in.nuthinbutnews.com!news-in.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <426c283f$1@newsgroups.borland.com> <426c31c3@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: f74b3,dc24d52afc8ec5c1
X-Google-Attributes: gidf74b3,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Sun, 24 Apr 2005 19:17:35 -0600
From: "Lori M Olson [TeamB]" <javadragon@techie.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax;nscd1)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.jbuilder.java.language
Subject: Re: can't use Calendar or GregorianCalendar classes:   "Hit uncaught
 exception java.io.FileNotFoundException"
References: <426c283f$1@newsgroups.borland.com> <426c31c3@newsgroups.borland.com>
In-Reply-To: <426c31c3@newsgroups.borland.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 142.179.181.200
Message-ID: <426c454d$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1114391885 142.179.181.200 (24 Apr 2005 18:18:05 -0700)
Lines: 34
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!news.alt.net!pd7cy2so!pd7cy1no!shaw.ca!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!news-in.nuthinbutnews.com!news-in.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail