Skip to content

reactivate huntFor #116

@GoogleCodeExporter

Description

@GoogleCodeExporter
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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions