org.primefaces.extensions.component.ajaxerrorhandler
Class AjaxExceptionHandler
java.lang.Object
javax.faces.context.ExceptionHandler
javax.faces.context.ExceptionHandlerWrapper
org.primefaces.extensions.component.ajaxerrorhandler.AjaxExceptionHandler
- All Implemented Interfaces:
- java.util.EventListener, javax.faces.event.FacesListener, javax.faces.event.SystemEventListener, javax.faces.FacesWrapper<javax.faces.context.ExceptionHandler>
public class AjaxExceptionHandler
- extends javax.faces.context.ExceptionHandlerWrapper
ExceptionHandlerWrapper which writes a custom XML response for the AjaxErrorHandler component.
- Since:
- 0.5
- Version:
- $Revision$
- Author:
- Pavol Slany / last modified by $Author$
| 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 |
AjaxExceptionHandler
public AjaxExceptionHandler(javax.faces.context.ExceptionHandler wrapped)
- Construct a new
AjaxExceptionHandler around the given wrapped ExceptionHandler.
- Parameters:
wrapped - The wrapped ExceptionHandler.
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
handle
public void handle()
throws javax.faces.FacesException
- Overrides:
handle in class javax.faces.context.ExceptionHandlerWrapper
- Throws:
javax.faces.FacesException
getHostname
protected java.lang.String getHostname()
throws java.net.UnknownHostException
- Throws:
java.net.UnknownHostException
Copyright © 2011-2013. All Rights Reserved.