org.apache.myfaces.context
Class MyFacesExceptionHandlerWrapperImpl
java.lang.Object
javax.faces.context.ExceptionHandler
javax.faces.context.ExceptionHandlerWrapper
org.apache.myfaces.context.MyFacesExceptionHandlerWrapperImpl
- All Implemented Interfaces:
- EventListener, FacesListener, SystemEventListener, FacesWrapper<ExceptionHandler>
public class MyFacesExceptionHandlerWrapperImpl
- extends ExceptionHandlerWrapper
Extended MyFaces-specific ExceptionHandler implementation.
- Author:
- Leonardo Uribe
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MyFacesExceptionHandlerWrapperImpl
public MyFacesExceptionHandlerWrapperImpl(ExceptionHandler delegate)
init
protected void init()
init
protected void init(FacesContext facesContext)
init
protected void init(SystemEvent exceptionQueuedEvent)
isUseMyFacesErrorHandling
protected boolean isUseMyFacesErrorHandling()
isErrorPagePresent
protected boolean isErrorPagePresent()
getHandledExceptionQueuedEvent
public ExceptionQueuedEvent getHandledExceptionQueuedEvent()
-
- Overrides:
getHandledExceptionQueuedEvent
in class ExceptionHandlerWrapper
getHandledExceptionQueuedEvents
public Iterable<ExceptionQueuedEvent> getHandledExceptionQueuedEvents()
-
- Overrides:
getHandledExceptionQueuedEvents
in class ExceptionHandlerWrapper
getUnhandledExceptionQueuedEvents
public Iterable<ExceptionQueuedEvent> getUnhandledExceptionQueuedEvents()
-
- Overrides:
getUnhandledExceptionQueuedEvents
in class ExceptionHandlerWrapper
handle
public void handle()
throws FacesException
-
- Overrides:
handle
in class ExceptionHandlerWrapper
- Throws:
FacesException
processEvent
public void processEvent(SystemEvent exceptionQueuedEvent)
throws AbortProcessingException
-
- Specified by:
processEvent
in interface SystemEventListener
- Overrides:
processEvent
in class ExceptionHandlerWrapper
- Throws:
AbortProcessingException
getRethrownException
protected Throwable getRethrownException(Throwable exception)
wrap
protected FacesException wrap(Throwable exception)
shouldSkip
protected boolean shouldSkip(Throwable exception)
getWrapped
public ExceptionHandler getWrapped()
- Specified by:
getWrapped
in interface FacesWrapper<ExceptionHandler>
- Overrides:
getWrapped
in class ExceptionHandlerWrapper
Copyright © 2013 The Apache Software Foundation. All Rights Reserved.