Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.mixmin.net!newsfeed.straub-nv.de!newsfeed.pionier.net.pl!news.dialog.net.pl!not-for-mail From: Arivald Newsgroups: comp.lang.java.programmer Subject: Re: Exception Handling Date: Tue, 13 Mar 2012 00:54:32 +0100 Organization: Dialog Net Lines: 21 Message-ID: References: <4f5e4260$0$293$14726298@news.sunsite.dk> NNTP-Posting-Host: dynamic-78-8-2-138.ssp.dialog.net.pl Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 8bit X-Trace: news.dialog.net.pl 1331596607 1313 78.8.2.138 (12 Mar 2012 23:56:47 GMT) X-Complaints-To: abuse@dialog.net.pl NNTP-Posting-Date: Mon, 12 Mar 2012 23:56:47 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/20120308 Thunderbird/11.0 In-Reply-To: X-Antivirus: avast! (VPS 120312-1, 2012-03-12), Outbound message X-Antivirus-Status: Clean Xref: csiph.com comp.lang.java.programmer:12937 W dniu 2012-03-12 23:43, Novice pisze: > Arne Vajhøj wrote in > >> Do you need the stacktrace in that case? >> > > Yes. I call getResources() from several places in the program and just > knowing getResources() was called doesn't tell me which call had the > problem. Was it the call in the main menu that launches the program? Was > it the call in the program itself that sets up the GUI? Was it the call > in the preferences dialog? etc. So I'm going to have trouble determining Instead of stack trace, you may be more interested in resource ID program try to load and failed. If You fix missing resource, it will work in all places. Just add resource name and locale data to log message. -- Arivald