org.apache.commons.latka.event
Class RequestErrorEvent
java.lang.Object
org.apache.commons.latka.event.BaseRequestEvent
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
Method Summary |
Throwable |
getError()
provides access to the Throwable representing the request error |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RequestErrorEvent
public RequestErrorEvent(Request request,
Response response,
Throwable t)
- Create an event from the request, response and some Throwable
- Parameters:
request
- the request in errorresponse
- the response generatedt
- Some throwable representing the error, e.g. an Exception
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.