Java Code Examples for javax.faces.context.ExceptionHandlerFactory

The following examples show how to use javax.faces.context.ExceptionHandlerFactory. These examples are extracted from open source projects. 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 want to check out the right sidebar which shows the related API usage.
Example 1
Source Project: deltaspike   Source File: MockedJsf2TestContainer.java    License: 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
public CustomExceptionHandlerFactory(ExceptionHandlerFactory parent) {
	this.parent = parent;
}
 
Example 3
public CustomExceptionHandlerFactory(ExceptionHandlerFactory parent) {
    this.parent = parent;
}
 
Example 4
public DefaultExceptionHandlerFactory(ExceptionHandlerFactory wrapped) {
    super(wrapped);
}
 
Example 5
Source Project: admin-template   Source File: CustomExceptionHandlerFactory.java    License: MIT License 4 votes vote down vote up
public CustomExceptionHandlerFactory(final ExceptionHandlerFactory parent) {
	this.parent = parent;
}
 
Example 6
public DefaultExceptionHandlerFactory(ExceptionHandlerFactory parent) {
    super(parent);
}
 
Example 7
public DefaultExceptionHandlerFactory(ExceptionHandlerFactory parent) {
    super(parent);
}
 
Example 8
public DefaultExceptionHandlerFactory(ExceptionHandlerFactory parent) {
    super(parent);
}
 
Example 9
public DefaultExceptionHandlerFactory(ExceptionHandlerFactory parent) {
    super(parent);
}
 
Example 10
public DefaultExceptionHandlerFactory(ExceptionHandlerFactory parent) {
    super(parent);
}
 
Example 11
public DefaultExceptionHandlerFactory(ExceptionHandlerFactory parent) {
    super(parent);
}
 
Example 12
public DefaultExceptionHandlerFactory(ExceptionHandlerFactory parent) {
    super(parent);
}
 
Example 13
public DefaultExceptionHandlerFactory(ExceptionHandlerFactory parent) {
    super(parent);
}
 
Example 14
public DefaultExceptionHandlerFactory(ExceptionHandlerFactory parent) {
    super(parent);
}
 
Example 15
public DefaultExceptionHandlerFactory(ExceptionHandlerFactory parent) {
    super(parent);
}
 
Example 16
public DefaultExceptionHandlerFactory(ExceptionHandlerFactory parent) {
    super(parent);
}
 
Example 17
public ViewExpiredExceptionExceptionHandlerFactory(ExceptionHandlerFactory parent) {
    this.parent = parent;
}
 
Example 18
Source Project: oxTrust   Source File: GlobalExceptionHandlerFactory.java    License: MIT License 4 votes vote down vote up
public GlobalExceptionHandlerFactory(ExceptionHandlerFactory exceptionHandlerFactory) {
    this.exceptionHandlerFactory = exceptionHandlerFactory;
}
 
Example 19
Source Project: oxAuth   Source File: GlobalExceptionHandlerFactory.java    License: MIT License 4 votes vote down vote up
public GlobalExceptionHandlerFactory(ExceptionHandlerFactory exceptionHandlerFactory) {
    this.exceptionHandlerFactory = exceptionHandlerFactory;
}
 
Example 20
public DefaultExceptionHandlerFactory(ExceptionHandlerFactory parent) {
    this.parent = parent;
}
 
Example 21
public DefaultExceptionHandlerFactory(ExceptionHandlerFactory parent) {
    this.parent = parent;
}
 
Example 22
Source Project: library   Source File: CustomExceptionHandlerFactory.java    License: Apache License 2.0 2 votes vote down vote up
/**
 * {@inheritDoc}
 *
 * @param wrapped
 */
public CustomExceptionHandlerFactory(ExceptionHandlerFactory wrapped) {
    super(wrapped);
}
 
Example 23
/**
 * {@inheritDoc}
 *
 * @param wrapped
 */
public CustomExceptionHandlerFactory(ExceptionHandlerFactory wrapped) {
    super(wrapped);
}
 
Example 24
/**
 * {@inheritDoc}
 *
 * @param wrapped
 */
public CustomExceptionHandlerFactory(ExceptionHandlerFactory wrapped) {
    super(wrapped);
}