com.getsnappy.w20
Class DefaultApplicationErrorHandler

java.lang.Object
  extended by com.getsnappy.w20.DefaultApplicationErrorHandler
All Implemented Interfaces:
ApplicationErrorHandler

public class DefaultApplicationErrorHandler
extends java.lang.Object
implements ApplicationErrorHandler


Constructor Summary
DefaultApplicationErrorHandler()
           
 
Method Summary
 void handleException(java.lang.Exception e, java.io.Writer out, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          The default application error handler simply re-throws the exception letting the application server handle it.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultApplicationErrorHandler

public DefaultApplicationErrorHandler()
Method Detail

handleException

public void handleException(java.lang.Exception e,
                            java.io.Writer out,
                            javax.servlet.http.HttpServletRequest request,
                            javax.servlet.http.HttpServletResponse response)
                     throws java.lang.Exception
The default application error handler simply re-throws the exception letting the application server handle it.

Specified by:
handleException in interface ApplicationErrorHandler
Parameters:
out - is not used in this implementation
request - is not used in this implementation
response - is not used in this implementation
Throws:
java.lang.Exception - always re-throw e out unmodified