com.ondelette.servlet
Class ServletErrorHandling

java.lang.Object
  |
  +--com.ondelette.servlet.ServletErrorHandling

public class ServletErrorHandling
extends java.lang.Object

Description of the Class


Constructor Summary
ServletErrorHandling()
           
 
Method Summary
static void printErrorMessage(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, java.lang.Exception e)
          A convenience method to print out detailed error messages in HTML.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServletErrorHandling

public ServletErrorHandling()
Method Detail

printErrorMessage

public static void printErrorMessage(javax.servlet.http.HttpServletRequest request,
                                     javax.servlet.http.HttpServletResponse response,
                                     java.lang.Exception e)
                              throws javax.servlet.ServletException,
                                     java.io.IOException
A convenience method to print out detailed error messages in HTML.

Parameters:
request -
response -
e - your exception
Throws:
javax.servlet.ServletException
java.io.IOException
Since:
0.30