@Override public ExceptionHandler getExceptionHandler() { return new PrimeExceptionHandler(wrapped.getExceptionHandler()); }
@Override public ExceptionHandler getExceptionHandler() { return new AuthenticationExceptionHandler(delegate.getExceptionHandler()); } }
@Override public ExceptionHandler getExceptionHandler() { return new GlobalExceptionHandler(exceptionHandlerFactory.getExceptionHandler()); } }
@Override public ExceptionHandler getExceptionHandler() { ExceptionHandler result = parent.getExceptionHandler(); result = new ViewExpiredExceptionHandler(result); return result; } }
@Override public ExceptionHandler getExceptionHandler() { return new OwbExceptionHandler(parent.getExceptionHandler()); } }
@Override public ExceptionHandler getExceptionHandler() { return new AuthorizationExceptionHandler(delegate.getExceptionHandler()); } }
@Override public ExceptionHandler getExceptionHandler() { return new ApplicationExceptionHandler(delegate.getExceptionHandler()); } }
@Override public ExceptionHandler getExceptionHandler() { return new JsfExceptionHandler(parent.getExceptionHandler()); }
@Override public ExceptionHandler getExceptionHandler() { return new AjaxExceptionHandler(parent.getExceptionHandler()); } }
@Override public ExceptionHandler getExceptionHandler() { return new RedirectExceptionHandler(delegate.getExceptionHandler()); } }
/** * @see javax.faces.context.ExceptionHandlerFactory#getExceptionHandler() */ @Override public ExceptionHandler getExceptionHandler() { return new Pivot4JExceptionHandler(parent.getExceptionHandler()); } }
/** * Returns a new instance of {@link FacesMessageExceptionHandler} which wraps the original exception handler. */ @Override public ExceptionHandler getExceptionHandler() { return new FacesMessageExceptionHandler(getWrapped().getExceptionHandler()); }
/** * Returns a new instance of {@link FacesMessageExceptionHandler} which wraps the original exception handler. */ @Override public ExceptionHandler getExceptionHandler() { return new FacesMessageExceptionHandler(getWrapped().getExceptionHandler()); }
/** * Returns a new instance of {@link FullAjaxExceptionHandler} which wraps the original exception handler. */ @Override public ExceptionHandler getExceptionHandler() { return new FullAjaxExceptionHandler(getWrapped().getExceptionHandler()); }
/** * Returns a new instance of {@link FullAjaxExceptionHandler} which wraps the original exception handler. */ @Override public ExceptionHandler getExceptionHandler() { return new FullAjaxExceptionHandler(getWrapped().getExceptionHandler()); }
@Override public ExceptionHandler getExceptionHandler() { ExceptionHandler wrappedExceptionHandler = wrappedExceptionHandlerFactory.getExceptionHandler(); FacesContext facesContext = FacesContext.getCurrentInstance(); if (facesContext.getPartialViewContext().isAjaxRequest()) { return new ExceptionHandlerAjaxImpl(wrappedExceptionHandler); } else { return wrappedExceptionHandler; } }
@Override public ExceptionHandler getExceptionHandler() { ExceptionHandler wrappedExceptionHandler = wrappedExceptionHandlerFactory.getExceptionHandler(); FacesContext facesContext = FacesContext.getCurrentInstance(); if (facesContext.getPartialViewContext().isAjaxRequest()) { return new ExceptionHandlerAjaxImpl(wrappedExceptionHandler); } else { return wrappedExceptionHandler; } }
public FacesContext getFacesContext(Object sc, Object request, Object response, Lifecycle lifecycle) throws FacesException { FacesContext ctx = new FacesContextImpl( externalContextFactory.getExternalContext(sc, request, response), lifecycle); ctx.setExceptionHandler(exceptionHandlerFactory.getExceptionHandler()); return ctx; }
public FacesContext getFacesContext(Object sc, Object request, Object response, Lifecycle lifecycle) throws FacesException { FacesContext ctx = new FacesContextImpl( externalContextFactory.getExternalContext(sc, request, response), lifecycle); ctx.setExceptionHandler(exceptionHandlerFactory.getExceptionHandler()); return ctx; }
protected void initFacesContext() { FacesContextFactory facesContextFactory = (FacesContextFactory) FactoryFinder.getFactory(FactoryFinder.FACES_CONTEXT_FACTORY); this.facesContext = facesContextFactory.getFacesContext( this.servletContext, this.request, this.response, this.lifecycle); ((MockFacesContext) this.facesContext).setApplication(this.application); ExceptionHandler exceptionHandler = ((ExceptionHandlerFactory) FactoryFinder.getFactory(FactoryFinder.EXCEPTION_HANDLER_FACTORY)).getExceptionHandler(); this.facesContext.setExceptionHandler(exceptionHandler); ((MockFacesContext) this.facesContext).setExternalContext( new MockExternalContext(this.servletContext, this.request, this.response)); }