Article View: borland.public.jbuilder.java.language
Article #16448MissingResourceException
From: Hank
Date: Mon, 22 Feb 1999 00:00
Date: Mon, 22 Feb 1999 00:00
33 lines
1194 bytes
1194 bytes
Hi,
I'm getting a MissingResourceException, "can't find resource for
NewCG_en_US."
Some of the context is described below.
In the directory of the application is a file, NewCG_en_US.properties.
The code is as follows.
try
{
resources = ResourceBundle.getBundle("NewCG", Locale.getDefault());
System.out.println("Using CG.properties file for user options");
}
catch (MissingResourceException mre)
{
System.err.println (mre.toString());
}
The resulting message is
can't find resource for NewCG_en_US
NewCG_en_US
java.util.MissingResourceException: can't find resource for NewCG_en_US
NewCG.properties not found
Any Suggestions?
Thanks
Hank
hank@fron-tech.com
Technical Details
Message-ID:
<36D174EF.BEAC22FF@fron-tech.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,2bf7e41978217a3,start X-Google-Attributes: gidf74b3,public From: Hank <hank@fron-tech.com> Subject: MissingResourceException Date: 1999/02/22 Message-ID: <36D174EF.BEAC22FF@fron-tech.com> X-Deja-AN: 447102091 Content-Transfer-Encoding: 7bit Organization: Another Netscape Collabra Server User Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 Newsgroups: borland.public.jbuilder.java.language