use of org.apache.deltaspike.jsf.impl.exception.control.BridgeExceptionHandlerWrapper in project deltaspike by apache.
the class DeltaSpikeFacesContextWrapper method getExceptionHandler.
@Override
public ExceptionHandler getExceptionHandler() {
lazyInit();
ExceptionHandler exceptionHandler = this.wrappedFacesContext.getExceptionHandler();
if (this.bridgeExceptionHandlerActivated) {
exceptionHandler = new BridgeExceptionHandlerWrapper(exceptionHandler, this.beanManager, this.bridgeExceptionQualifier);
}
if (this.defaultErrorViewExceptionHandlerActivated) {
exceptionHandler = new DefaultErrorViewAwareExceptionHandlerWrapper(exceptionHandler);
}
return exceptionHandler;
}
Aggregations