jakartaee / jakartaee/faces

Support registration of ExceptionHandlerWrappers directly from faces-config.xml or @ExceptionHandlerWrapper

Open
#1,031 6 comments 0 reactions 0 assignees View on GitHub
Component: Configuration/Bootstrapping Priority: Minor Type: Improvement
Dominant language
Java
Stars
127
Forks
59
Avg merge
23h
Merged PRs (30d)
7

Description

It is currently painful to register exception handlers in JSF: see reference ( [http://weblogs.java.net/blog/edburns/archive/2009/09/03/dealing-gracefully-viewexpiredexception-jsf2?force=148](http://weblogs.java.net/blog/edburns/archive/2009/09/03/dealing-gracefully-viewexpiredexception-jsf2?force=148) )

I think it should be possible to register ExceptionHandlerWrappers directly from faces-config.xml

com.example.ExceptionHandlerWrapperImpl

This would eliminate the painful 2-class registration process we have now.
#### Affected Versions
[2.1 Rev a]

Contributor guide

Open the contributing guide

Research direction

Start by tracing the existing two-class exception-handler registration and how faces-config.xml is processed; compare that path with the requested exception-handler-wrapper entry and @ExceptionHandlerWrapper option. Done means an ExceptionHandlerWrapper can be registered directly through either supported mechanism and the existing registration behavior remains intact.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
web-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.