Class PreJsf2ExceptionHandlerFactory

    • Constructor Detail

      • PreJsf2ExceptionHandlerFactory

        public PreJsf2ExceptionHandlerFactory​()
    • Method Detail

      • getExceptionHandler

        public ExceptionHandler getExceptionHandler​()
        Description copied from class: ExceptionHandlerFactory

        Create and return a A new ExceptionHandler instance. The implementation must return an ExceptionHandler instance suitable for the environment. For example, in some cases it may be desirable for an ExceptionHandler to write error information to the response instead of throwing exceptions as in the case of Ajax applications.

        Specified by:
        getExceptionHandler in class ExceptionHandlerFactory
        Returns:
        a new ExceptionHandler that behaves in a fashion compatible with specifications prior to JavaServerFaces 1.2