This is the mail archive of the frysk@sourceware.org mailing list for the frysk project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: fhpd vs RuntimeExceptions


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]