-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Catching an exception often is not good enough. Often, the manner we want to
respond does not
directly depend on the caught exception, but on its payload of "cause
exceptions". Many exceptions
that occur in layers closer to the UI are pure wrapper exceptions (JSF
exception, Hibernate
exception, ...) of underlying problems. We want to decide what to do on the
existence of particular
types of exceptions somewhere in the "cause chain" (taking into account that
older API, pre-1.4,
use different names for this chain).
In the old ppw-exception there is a method called "huntFor" that does that.
This method needs to
be reactivated.
It is not clear in which library this is best placed. Candidates are here
(ppwcode-vernacular-
exception) and ppwcode-util-smallfries, and possibly others.
Original issue reported on code.google.com by jandockx on 29 Jul 2008 at 8:25
Reactions are currently unavailable