Class PreJsf2ExceptionHandlerFactory

  extended by javax.faces.context.ExceptionHandlerFactory
      extended by javax.faces.webapp.PreJsf2ExceptionHandlerFactory
All Implemented Interfaces:

public class PreJsf2ExceptionHandlerFactory
extends ExceptionHandlerFactory

This ExceptionHandlerFactory instance produces JSF 1.2 compatible ExceptionHandler instances. The ExceptionHandler#handle method of the ExceptionHandler produced by this factory must meet the following requirements


Constructor Summary
Method Summary
 ExceptionHandler getExceptionHandler()

Create and return a A new ExceptionHandler instance.

Methods inherited from class javax.faces.context.ExceptionHandlerFactory
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public PreJsf2ExceptionHandlerFactory()
Method Detail


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
a new ExceptionHandler that behaves in a fashion compatible with specifications prior to JavaServerFaces 1.2

Submit a bug or feature

Copyright © 2009-2011, Oracle Corporation and/or its affiliates. All Rights Reserved. Use is subject to license terms.

Generated on 10-February-2011 12:41

Scripting on this page tracks web page traffic, but does not change the content in any way.