Is there a way to let my custom ExceptionHandler
annoted with @ControllerAdvice
manage exceptions thrown in a JSF controller?
I noticed that all exceptions thrown in @PostConstruct
methods won't get caught by the @ControllerAdvice
class, instead JSF built in exception handler manage them.
I'm aware that I can extend ExceptionHandlerFactory
, but all the guides I found are outdated and it's not clear if I can use it for the functionality I need.