From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9999 invoked by alias); 15 Nov 2007 18:22:37 -0000 Received: (qmail 9992 invoked by uid 22791); 15 Nov 2007 18:22:37 -0000 X-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,DK_POLICY_SIGNSOME,FORGED_RCVD_HELO,SPF_HELO_PASS,SPF_PASS,TW_FH X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 15 Nov 2007 18:22:34 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.8/8.13.1) with ESMTP id lAFIMWp4007296; Thu, 15 Nov 2007 13:22:32 -0500 Received: from pobox-2.corp.redhat.com (pobox-2.corp.redhat.com [10.11.255.15]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id lAFIMViv018864; Thu, 15 Nov 2007 13:22:31 -0500 Received: from localhost.localdomain (vpn-6-16.fab.redhat.com [10.33.6.16]) by pobox-2.corp.redhat.com (8.13.1/8.13.1) with ESMTP id lAFIMUms026776; Thu, 15 Nov 2007 13:22:31 -0500 Message-ID: <473C8E66.4030101@redhat.com> Date: Thu, 15 Nov 2007 18:22:00 -0000 From: Phil Muldoon User-Agent: Thunderbird 2.0.0.6 (X11/20070926) MIME-Version: 1.0 To: Mark Wielaard CC: frysk@sourceware.org Subject: Re: fhpd vs RuntimeExceptions References: <1195050364.3027.24.camel@dijkstra.wildebeest.org> <473C7B74.6090109@redhat.com> <1195149852.3010.33.camel@dijkstra.wildebeest.org> In-Reply-To: <1195149852.3010.33.camel@dijkstra.wildebeest.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact frysk-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: frysk-owner@sourceware.org X-SW-Source: 2007-q4/txt/msg00139.txt.bz2 Mark Wielaard wrote: > Forgot: > > On Thu, 2007-11-15 at 17:01 +0000, Phil Muldoon wrote: > >> Pending a the full implementation of this it's a pain to see every >> single exception printed. >> > > Till there is a difference between fatal and user message "exceptions" > you can easily get the old behavior by tweaking CLI.flushMessages(): > > --- a/frysk-core/frysk/hpd/CLI.java > +++ b/frysk-core/frysk/hpd/CLI.java > @@ -294,7 +294,7 @@ public class CLI { > outWriter.print(prefix); > outWriter.println(tempmsg.getMessage()); > Throwable exc = tempmsg.getException(); > - if (exc != null) > + if (exc != null && false) > exc.printStackTrace(outWriter); > iter.remove(); > } > > Or replace false with the heuristic you find acceptable of course. > I'm not advocating any such course. I think we need to let the thread move on a bit, have a few more conversations on it, then make a decision. It's good to have this conversation, personally, as I learn from these debates. I know much more about fhpd now than last week. In short, nothing too hasty ;) Regards Phil