org.archive.wayback
Interface ExceptionRenderer

All Known Implementing Classes:
AnnotationExceptionRenderer, BaseExceptionRenderer, CustomNotInArchiveExceptionRenderer

public interface ExceptionRenderer

Implementors are responsible for drawing errors.

Version:
$Date: 2010-09-29 05:28:38 +0700 (Wed, 29 Sep 2010) $, $Revision: 3262 $
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,
                            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 - from Servlet handling
httpResponse - from Servlet handling
wbRequest - as parsed by RequestParser
exception - specific WaybackException subclass thrown
uriConverter - for the AccessPoint handling the request
Throws:
javax.servlet.ServletException - per usual
IOException - per usual


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