ExceptionsHandler eh = Handlers.get( getServletContext() ).getExceptionsHandler();
FlowControllerHandlerContext context = new FlowControllerHandlerContext( request, response, this );
Throwable unwrapped = eh.unwrapException( context, e );
if ( ! eh.eatUnhandledException( context, unwrapped ) )
{
if ( ex instanceof ServletException ) throw ( ServletException ) ex;
if ( ex instanceof IOException ) throw ( IOException ) ex;
if ( ex instanceof Error ) throw ( Error ) ex;
throw new UnhandledException( ex );