Hello,

I'm trying to turn off the Shale Exception handling capabilities.  I
have commented out the use of the ViewActionListener but now I notice
that the LifecycleListener is also trying to leverage a Shale Exception
handler.  
    
    protected void fireSessionInit(Object bean) {

        try {
            if (bean instanceof AbstractSessionBean) {
                ((AbstractSessionBean) bean).init();
            }
        } catch (Exception e) {
            handleException(FacesContext.getCurrentInstance(), e);
        }

    }

The documentation states that I can look to an ExceptionHandlerFactory,
but that class does not exist.

/**
 * <p>Interface describing a "strategy pattern" implementation for
 * handling exceptions thrown by an application event callback that
 * is managed by Shale.  A suitable instance may be acquired by calling
 *
<code>ExceptionHandlerFactory.getInstance().getExceptionHandler()</code>
.</p>
 *
 * @since 1.0.3
 *
 * $Id: ExceptionHandler.java 428077 2006-08-02 18:17:11Z craigmcc $
 */
public interface ExceptionHandler


I want to leverage Shale's ViewControllerCapabilities, but I do not want
to leverage the Shale exception handling mechanism as it is incomplete.
I have a means to capture exceptions at a higher level, however they are
being eaten by Shale.

Any assistance would be greatly appreciated.

Thanks,

Bob Butash



Reply via email to