org.apache.commons.latka.event
Class RequestErrorEvent

java.lang.Object
  extended by org.apache.commons.latka.event.BaseRequestEvent
      extended by org.apache.commons.latka.event.RequestErrorEvent
All Implemented Interfaces:
LatkaEvent, RequestEvent

public class RequestErrorEvent
extends BaseRequestEvent

An event that represents an error that occurred processing a request

Version:
$Id: RequestErrorEvent.java 155424 2005-02-26 13:09:29Z dirkv $
Author:
Morgan Delagrange, dIon Gillard

Constructor Summary
RequestErrorEvent(Request request, Response response, Throwable t)
          Create an event from the request, response and some Throwable
 
Method Summary
 Throwable getError()
          provides access to the Throwable representing the request error
 
Methods inherited from class org.apache.commons.latka.event.BaseRequestEvent
getRequest, getResponse, getSession
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RequestErrorEvent

public RequestErrorEvent(Request request,
                         Response response,
                         Throwable t)
Create an event from the request, response and some Throwable

Parameters:
request - the request in error
response - the response generated
t - Some throwable representing the error, e.g. an Exception
Method Detail

getError

public Throwable getError()
provides access to the Throwable representing the request error

Returns:
the Throwable of the request error


Copyright © 2001-2010 The Apache Software Foundation. All Rights Reserved.