Package org.imixs.workflow.office.util
Class ViewExpiredExceptionExceptionHandler
- java.lang.Object
-
- javax.faces.context.ExceptionHandler
-
- javax.faces.context.ExceptionHandlerWrapper
-
- org.imixs.workflow.office.util.ViewExpiredExceptionExceptionHandler
-
- All Implemented Interfaces:
EventListener,javax.faces.event.FacesListener,javax.faces.event.SystemEventListener,javax.faces.FacesWrapper<javax.faces.context.ExceptionHandler>
public class ViewExpiredExceptionExceptionHandler extends javax.faces.context.ExceptionHandlerWrapperThis class is used to handle expired sessions. In case a session was expired the handler caught the ViewExpiredException and redirects into a new page. This class expects a jsf page called 'sessionexpired.xhtml' in the web root context!- Author:
- rsoika
- See Also:
burns ' dealing_gracefully_with_viewexpiredexception' https://www.nofluffjuststuff.com/blog/ed_burns/2009/09/ dealing_gracefully_with_viewexpiredexception_in_jsf2
-
-
Constructor Summary
Constructors Constructor Description ViewExpiredExceptionExceptionHandler(javax.faces.context.ExceptionHandler wrapped)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.faces.context.ExceptionHandlergetWrapped()voidhandle()
-
-
-
Method Detail
-
getWrapped
public javax.faces.context.ExceptionHandler getWrapped()
- Specified by:
getWrappedin interfacejavax.faces.FacesWrapper<javax.faces.context.ExceptionHandler>- Overrides:
getWrappedin classjavax.faces.context.ExceptionHandlerWrapper
-
handle
public void handle() throws javax.faces.FacesException- Overrides:
handlein classjavax.faces.context.ExceptionHandlerWrapper- Throws:
javax.faces.FacesException
-
-