org.apache.commons.latka.event
Class RequestFailedEvent
java.lang.Object
org.apache.commons.latka.event.BaseRequestEvent
org.apache.commons.latka.event.RequestFailedEvent
- All Implemented Interfaces:
- LatkaEvent, RequestEvent
public class RequestFailedEvent
- extends BaseRequestEvent
- implements RequestEvent
An event for when a request fails
- Version:
- $Id: RequestFailedEvent.java 155424 2005-02-26 13:09:29Z dirkv $
- Author:
- Morgan Delagrange, dIon Gillard
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RequestFailedEvent
public RequestFailedEvent(Request request,
Response response,
ValidationException e)
- Create a new request failed event
- Parameters:
request
- The request that failedresponse
- The response from processing the failed requeste
- The validation failure
getValidationException
public Throwable getValidationException()
- get the validation exception provided on construction
- Returns:
- the validation exception provided on construction
Copyright © 2001-2010 The Apache Software Foundation. All Rights Reserved.