| 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.faces.context.ExceptionHandlerFactory
javax.faces.webapp.PreJsf2ExceptionHandlerFactory
public class PreJsf2ExceptionHandlerFactory
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
Any exceptions thrown before or after phase execution will be logged and swallowed.
The implementation must examine
 the Exception within each of the unhandled exception
 events.  If the Exception is an instance of
 UpdateModelException, extract the FacesMessage from
 the UpdateModelException.  Log a SEVERE
 message to the log and queue the FacesMessage 
 on the FacesContext, using the clientId of
 the source component in a call to 
 FacesContext#addMessage(java.lang.String, javax.faces.application.FacesMessage)
| Constructor Summary | |
|---|---|
PreJsf2ExceptionHandlerFactory()
 | 
|
| Method Summary | |
|---|---|
 ExceptionHandler | 
getExceptionHandler()
Create and return a A new
   | 
| Methods inherited from class javax.faces.context.ExceptionHandlerFactory | 
|---|
getWrapped | 
| 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()
ExceptionHandlerFactoryCreate 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.
getExceptionHandler in class ExceptionHandlerFactoryExceptionHandler that behaves in a fashion compatible
  with specifications prior to JavaServerFaces 1.2
  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
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