javax.faces.context.ExceptionHandlerFactory Java Examples

The following examples show how to use javax.faces.context.ExceptionHandlerFactory. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: MockedJsf2TestContainer.java    From deltaspike with Apache License 2.0 5 votes vote down vote up
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));
}
 
Example #2
Source File: DefaultExceptionHandlerFactory.java    From ee8-sandbox with Apache License 2.0 4 votes vote down vote up
public DefaultExceptionHandlerFactory(ExceptionHandlerFactory parent) {
    super(parent);
}
 
Example #3
Source File: DefaultExceptionHandlerFactory.java    From spring4-sandbox with Apache License 2.0 4 votes vote down vote up
public DefaultExceptionHandlerFactory(ExceptionHandlerFactory parent) {
    this.parent = parent;
}
 
Example #4
Source File: DefaultExceptionHandlerFactory.java    From ee7-sandbox with Apache License 2.0 4 votes vote down vote up
public DefaultExceptionHandlerFactory(ExceptionHandlerFactory parent) {
    this.parent = parent;
}
 
Example #5
Source File: GlobalExceptionHandlerFactory.java    From oxAuth with MIT License 4 votes vote down vote up
public GlobalExceptionHandlerFactory(ExceptionHandlerFactory exceptionHandlerFactory) {
    this.exceptionHandlerFactory = exceptionHandlerFactory;
}
 
Example #6
Source File: GlobalExceptionHandlerFactory.java    From oxTrust with MIT License 4 votes vote down vote up
public GlobalExceptionHandlerFactory(ExceptionHandlerFactory exceptionHandlerFactory) {
    this.exceptionHandlerFactory = exceptionHandlerFactory;
}
 
Example #7
Source File: ViewExpiredExceptionExceptionHandlerFactory.java    From journaldev with MIT License 4 votes vote down vote up
public ViewExpiredExceptionExceptionHandlerFactory(ExceptionHandlerFactory parent) {
    this.parent = parent;
}
 
Example #8
Source File: DefaultExceptionHandlerFactory.java    From ee8-sandbox with Apache License 2.0 4 votes vote down vote up
public DefaultExceptionHandlerFactory(ExceptionHandlerFactory parent) {
    super(parent);
}
 
Example #9
Source File: DefaultExceptionHandlerFactory.java    From ee8-sandbox with Apache License 2.0 4 votes vote down vote up
public DefaultExceptionHandlerFactory(ExceptionHandlerFactory parent) {
    super(parent);
}
 
Example #10
Source File: DefaultExceptionHandlerFactory.java    From ee8-sandbox with Apache License 2.0 4 votes vote down vote up
public DefaultExceptionHandlerFactory(ExceptionHandlerFactory parent) {
    super(parent);
}
 
Example #11
Source File: CustomExceptionHandlerFactory.java    From sailfish-core with Apache License 2.0 4 votes vote down vote up
public CustomExceptionHandlerFactory(ExceptionHandlerFactory parent) {
	this.parent = parent;
}
 
Example #12
Source File: DefaultExceptionHandlerFactory.java    From ee8-sandbox with Apache License 2.0 4 votes vote down vote up
public DefaultExceptionHandlerFactory(ExceptionHandlerFactory parent) {
    super(parent);
}
 
Example #13
Source File: DefaultExceptionHandlerFactory.java    From ee8-sandbox with Apache License 2.0 4 votes vote down vote up
public DefaultExceptionHandlerFactory(ExceptionHandlerFactory parent) {
    super(parent);
}
 
Example #14
Source File: DefaultExceptionHandlerFactory.java    From ee8-sandbox with Apache License 2.0 4 votes vote down vote up
public DefaultExceptionHandlerFactory(ExceptionHandlerFactory parent) {
    super(parent);
}
 
Example #15
Source File: DefaultExceptionHandlerFactory.java    From ee8-sandbox with Apache License 2.0 4 votes vote down vote up
public DefaultExceptionHandlerFactory(ExceptionHandlerFactory parent) {
    super(parent);
}
 
Example #16
Source File: DefaultExceptionHandlerFactory.java    From ee8-sandbox with Apache License 2.0 4 votes vote down vote up
public DefaultExceptionHandlerFactory(ExceptionHandlerFactory parent) {
    super(parent);
}
 
Example #17
Source File: DefaultExceptionHandlerFactory.java    From ee8-sandbox with Apache License 2.0 4 votes vote down vote up
public DefaultExceptionHandlerFactory(ExceptionHandlerFactory parent) {
    super(parent);
}
 
Example #18
Source File: DefaultExceptionHandlerFactory.java    From ee8-sandbox with Apache License 2.0 4 votes vote down vote up
public DefaultExceptionHandlerFactory(ExceptionHandlerFactory parent) {
    super(parent);
}
 
Example #19
Source File: CustomExceptionHandlerFactory.java    From admin-template with MIT License 4 votes vote down vote up
public CustomExceptionHandlerFactory(final ExceptionHandlerFactory parent) {
	this.parent = parent;
}
 
Example #20
Source File: DefaultExceptionHandlerFactory.java    From javaee8-jsf-sample with GNU General Public License v3.0 4 votes vote down vote up
public DefaultExceptionHandlerFactory(ExceptionHandlerFactory wrapped) {
    super(wrapped);
}
 
Example #21
Source File: CustomExceptionHandlerFactory.java    From microprofile-starter with Apache License 2.0 4 votes vote down vote up
public CustomExceptionHandlerFactory(ExceptionHandlerFactory parent) {
    this.parent = parent;
}
 
Example #22
Source File: CustomExceptionHandlerFactory.java    From web-budget with GNU General Public License v3.0 2 votes vote down vote up
/**
 * {@inheritDoc}
 *
 * @param wrapped
 */
public CustomExceptionHandlerFactory(ExceptionHandlerFactory wrapped) {
    super(wrapped);
}
 
Example #23
Source File: CustomExceptionHandlerFactory.java    From web-budget with GNU General Public License v3.0 2 votes vote down vote up
/**
 * {@inheritDoc}
 *
 * @param wrapped
 */
public CustomExceptionHandlerFactory(ExceptionHandlerFactory wrapped) {
    super(wrapped);
}
 
Example #24
Source File: CustomExceptionHandlerFactory.java    From library with Apache License 2.0 2 votes vote down vote up
/**
 * {@inheritDoc}
 *
 * @param wrapped
 */
public CustomExceptionHandlerFactory(ExceptionHandlerFactory wrapped) {
    super(wrapped);
}