Fix formatting and add javadocs
Index:
jakarta-commons/latka/src/java/org/apache/commons/latka/event/RequestFailedEvent.java
===================================================================
RCS file:
/home/cvspublic/jakarta-commons/latka/src/java/org/apache/commons/latka/event/RequestFailedEvent.java,v
retrieving revision 1.4
diff -r1.4 RequestFailedEvent.java
66a67,70
> /** An event for when a request fails
> * @author Morgan Delagrange
> * @version $Id$
> */
68,69c72,82
< ValidationException _ex = null;
< public RequestFailedEvent(Request request, Response response,
ValidationException e) {
---
> > /** used to hold the validation exception
> */
> ValidationException _ex = null; // FIXME: Scope?
> > /** Create a new request failed event
> * @param request The request that failed
> * @param response The response from processing the failed request
> * @param e The validation failure
> */
> public RequestFailedEvent(Request request, Response response,
ValidationException e) {
72c85
< }
---
> }
74,76c87,92
< public Throwable getValidationException() {
< return _ex;
< }
---
> /** get the validation exception provided on construction
> * @return the validation exception provided on construction
> */
> public Throwable getValidationException() {
> return _ex;
> }
--
dIon Gillard, Multitask Consulting
http://www.multitask.com.au/developers
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>