public interface ErrorHandlerFactory
Users can provide their own implementation of this interface. They must,
however, provide a public no-arg constructor in the implementation. The
custom implementation is made available to the application through the
'error-handler-factory' init parameter. See
An instance of a class implementing this interface is created once during FrontController initialization, and placed in the front controller context. Therefore, users should make the class thread-safe, as it will be accessed simultaneously by multiple threads.
static final String KEY
This method will be invoked once per request, before the action is processed.
Users should note that any exceptions thrown from this method are not guaranteed to be caught in the FrontController. They may escape to the requestor. Users should handle any exceptions inside the implementation of this method if different behaviour is desired.
Copyright © 2011-2012 MojaveMVC.org