com.liferay.faces.bridge.context
Class ExceptionHandlerAjaxImpl
java.lang.Object
javax.faces.context.ExceptionHandler
javax.faces.context.ExceptionHandlerWrapper
com.liferay.faces.bridge.context.ExceptionHandlerAjaxImpl
- All Implemented Interfaces:
- EventListener, javax.faces.event.FacesListener, javax.faces.event.SystemEventListener, javax.faces.FacesWrapper<javax.faces.context.ExceptionHandler>
public class ExceptionHandlerAjaxImpl
- extends javax.faces.context.ExceptionHandlerWrapper
The purpose of this class is to wrap the JSF implementation's Ajax exception handler so that exceptions that occur
during Ajax are logged to the console. For some reason Mojarra doesn't do that, which makes it very hard for the
developer to find out what went wrong.
- Author:
- Neil Griffin
| Methods inherited from class javax.faces.context.ExceptionHandlerWrapper |
getHandledExceptionQueuedEvent, getHandledExceptionQueuedEvents, getRootCause, getUnhandledExceptionQueuedEvents, isListenerForSource, processEvent |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExceptionHandlerAjaxImpl
public ExceptionHandlerAjaxImpl(javax.faces.context.ExceptionHandler exceptionHandler)
handle
public void handle()
throws javax.faces.FacesException
- Overrides:
handle in class javax.faces.context.ExceptionHandlerWrapper
- Throws:
javax.faces.FacesException
getWrapped
public javax.faces.context.ExceptionHandler getWrapped()
- Specified by:
getWrapped in interface javax.faces.FacesWrapper<javax.faces.context.ExceptionHandler>- Overrides:
getWrapped in class javax.faces.context.ExceptionHandlerWrapper
Copyright © 2014 Liferay, Inc.. All Rights Reserved.