org.archive.wayback
Interface ExceptionRenderer

All Known Implementing Classes:
AnnotationExceptionRenderer, BaseExceptionRenderer, CustomNotInArchiveExceptionRenderer

public interface ExceptionRenderer

Implementors are responsible for drawing errors.

Version:
$Date$, $Revision$
Author:
brad

Method Summary
 void renderException(javax.servlet.http.HttpServletRequest httpRequest, javax.servlet.http.HttpServletResponse httpResponse, WaybackRequest wbRequest, WaybackException exception, ResultURIConverter uriConverter)
          Render the contents of a WaybackException in either html, javascript, or css format, depending on the guessed context, so errors in embedded documents do not cause unneeded errors in the embedding document.
 

Method Detail

renderException

void renderException(javax.servlet.http.HttpServletRequest httpRequest,
                     javax.servlet.http.HttpServletResponse httpResponse,
                     WaybackRequest wbRequest,
                     WaybackException exception,
                     ResultURIConverter uriConverter)
                     throws javax.servlet.ServletException,
                            java.io.IOException
Render the contents of a WaybackException in either html, javascript, or css format, depending on the guessed context, so errors in embedded documents do not cause unneeded errors in the embedding document.

Parameters:
httpRequest -
httpResponse -
wbRequest -
exception -
Throws:
javax.servlet.ServletException
java.io.IOException


Copyright © 2005-2009 Internet Archive. All Rights Reserved.