This is the mail archive of the
frysk@sources.redhat.com
mailing list for the frysk project.
Re: frysk-imports frysk/bindir/ftrace.java frysk/d ...
- From: Mark Wielaard <mark at klomp dot org>
- To: moore at sourceware dot org
- Cc: frysk at sources dot redhat dot com
- Date: Fri, 21 Jul 2006 13:40:16 +0200
- Subject: Re: frysk-imports frysk/bindir/ftrace.java frysk/d ...
- References: <20060720155840.24856.qmail@sourceware.org> <1153480682.22872.9.camel@elsschot.wildebeest.org>
On Fri, 2006-07-21 at 13:18 +0200, Mark Wielaard wrote:
> Hi Tim,
>
> On Thu, 2006-07-20 at 15:58 +0000, moore@sourceware.org wrote:
> > Throw a TaskException from some methods in Task. This is not a
> > RuntimeException, so fix all the affected callers too.
>
> I like it. Now I actually have to look and think what to do in some
> nasty cases where the Task can actually have "disappeared". Now
> scratching my head how to improve my code to better handle some things.
> Good stuff.
Another question. Should the Register getters and setters also throw
TaskException? Currently only the requesting of the Isa of a Task can
trigger it, but it seems any use of it can also get you in trouble if
the underlying ByteBuffer for the register banks throws a fit.
Cheers,
Mark