public class PortletExceptionPresenter extends java.lang.Object implements org.apache.tapestry.error.ExceptionPresenter
During an action request, this code will render the HTML markup for the exception into a buffer that is stored as persistent attribute in the portal session.
Constructor and Description |
---|
PortletExceptionPresenter() |
Modifier and Type | Method and Description |
---|---|
void |
presentException(org.apache.tapestry.IRequestCycle cycle,
java.lang.Throwable cause) |
void |
setGlobals(PortletRequestGlobals globals) |
void |
setMarkupWriterSource(org.apache.tapestry.markup.MarkupWriterSource markupWriterSource) |
void |
setRenderStrategy(org.apache.tapestry.describe.RenderStrategy renderStrategy) |
void |
setRequest(org.apache.tapestry.web.WebRequest request) |
void |
setRequestExceptionReporter(org.apache.tapestry.error.RequestExceptionReporter requestExceptionReporter) |
void |
setResponse(org.apache.tapestry.web.WebResponse response) |
public PortletExceptionPresenter()
public void presentException(org.apache.tapestry.IRequestCycle cycle, java.lang.Throwable cause)
presentException
in interface org.apache.tapestry.error.ExceptionPresenter
public void setGlobals(PortletRequestGlobals globals)
public void setRenderStrategy(org.apache.tapestry.describe.RenderStrategy renderStrategy)
public void setRequest(org.apache.tapestry.web.WebRequest request)
public void setRequestExceptionReporter(org.apache.tapestry.error.RequestExceptionReporter requestExceptionReporter)
public void setResponse(org.apache.tapestry.web.WebResponse response)
public void setMarkupWriterSource(org.apache.tapestry.markup.MarkupWriterSource markupWriterSource)