org.apache.commons.latka.event
Class RequestFailedEvent

java.lang.Object
  extended by org.apache.commons.latka.event.BaseRequestEvent
      extended by 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

Constructor Summary
RequestFailedEvent(Request request, Response response, ValidationException e)
          Create a new request failed event
 
Method Summary
 Throwable getValidationException()
          get the validation exception provided on construction
 
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
 
Methods inherited from interface org.apache.commons.latka.event.RequestEvent
getRequest, getResponse, getSession
 

Constructor Detail

RequestFailedEvent

public RequestFailedEvent(Request request,
                          Response response,
                          ValidationException e)
Create a new request failed event

Parameters:
request - The request that failed
response - The response from processing the failed request
e - The validation failure
Method Detail

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.