public class AjaxExceptionHandler
extends javax.faces.context.ExceptionHandlerWrapper
ExceptionHandlerWrapper which writes a custom XML response for the AjaxErrorHandler component.| Constructor and Description |
|---|
AjaxExceptionHandler(javax.faces.context.ExceptionHandler wrapped)
Construct a new
AjaxExceptionHandler around the given wrapped ExceptionHandler. |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
calculateViewUri(javax.faces.context.FacesContext context) |
protected java.lang.String |
getHostname() |
javax.faces.context.ExceptionHandler |
getWrapped() |
void |
handle() |
public AjaxExceptionHandler(javax.faces.context.ExceptionHandler wrapped)
AjaxExceptionHandler around the given wrapped ExceptionHandler.wrapped - The wrapped ExceptionHandler.public javax.faces.context.ExceptionHandler getWrapped()
getWrapped in interface javax.faces.FacesWrapper<javax.faces.context.ExceptionHandler>getWrapped in class javax.faces.context.ExceptionHandlerWrapperpublic void handle()
throws javax.faces.FacesException
handle in class javax.faces.context.ExceptionHandlerWrapperjavax.faces.FacesExceptionpublic static java.lang.String calculateViewUri(javax.faces.context.FacesContext context)
protected java.lang.String getHostname()
throws java.net.UnknownHostException
java.net.UnknownHostExceptionCopyright © 2011-2014. All Rights Reserved.