dion 02/04/10 15:36:39
Modified: latka/src/java/org/apache/commons/latka/event
LatkaEventPublisher.java RequestEvent.java
RequestSkippedEvent.java RequestFailedEvent.java
SuiteCompletedEvent.java SuiteEvent.java
RequestSucceededEvent.java RequestErrorEvent.java
Log:
Fixed javadocs
Revision Changes Path
1.6 +101 -55
jakarta-commons/latka/src/java/org/apache/commons/latka/event/LatkaEventPublisher.java
Index: LatkaEventPublisher.java
===================================================================
RCS file:
/home/cvs/jakarta-commons/latka/src/java/org/apache/commons/latka/event/LatkaEventPublisher.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- LatkaEventPublisher.java 12 Sep 2001 16:51:22 -0000 1.5
+++ LatkaEventPublisher.java 10 Apr 2002 22:36:39 -0000 1.6
@@ -1,9 +1,13 @@
/*
+ *
+ *
+ *
+ *
* ====================================================================
*
* The Apache Software License, Version 1.1
*
- * Copyright (c) 1999 The Apache Software Foundation. All rights
+ * Copyright (c) 1999-2002 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -11,7 +15,7 @@
* are met:
*
* 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
+ * notice, this list of conditions and the following disclaimer.
*
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in
@@ -19,15 +23,15 @@
* distribution.
*
* 3. The end-user documentation included with the redistribution, if
- * any, must include the following acknowlegement:
- * "This product includes software developed by the
+ * any, must include the following acknowlegement:
+ * "This product includes software developed by the
* Apache Software Foundation (http://www.apache.org/)."
* Alternately, this acknowlegement may appear in the software itself,
* if and wherever such third-party acknowlegements normally appear.
*
- * 4. The names "The Jakarta Project", "Tomcat", and "Apache Software
+ * 4. The names "The Jakarta Project", "Commons", and "Apache Software
* Foundation" must not be used to endorse or promote products derived
- * from this software without prior written permission. For written
+ * from this software without prior written permission. For written
* permission, please contact [EMAIL PROTECTED]
*
* 5. Products derived from this software may not be called "Apache"
@@ -55,7 +59,7 @@
*
* [Additional notices, if required by prior licensing conditions]
*
- */
+ */
package org.apache.commons.latka.event;
@@ -63,53 +67,95 @@
import java.util.Iterator;
import java.util.List;
+/**
+ * A {@link LatkaEventListener} that publishes the incoming events to other
+ * listeners
+ *
+ * @author Morgan Delagrange
+ * @author <a href="mailto:[EMAIL PROTECTED]">dIon Gillard</a>
+ * @version $Id: LatkaEventPublisher.java,v 1.6 2002/04/10 22:36:39 dion Exp $
+ */
public class LatkaEventPublisher implements LatkaEventListener {
-
- protected List _list = new ArrayList();
-
- public void addListener(LatkaEventListener listener) {
- _list.add(listener);
- }
-
- public void broadcastEvent(LatkaEvent event) {
- Iterator iter = _list.iterator();
- while(iter.hasNext()) {
- broadcastEvent(event,(LatkaEventListener)iter.next());
- }
- }
-
- protected void broadcastEvent(LatkaEvent event, LatkaEventListener listener) {
- if(event instanceof RequestSucceededEvent) {
- listener.requestSucceeded((RequestEvent)event);
- } else if(event instanceof RequestFailedEvent) {
- listener.requestFailed((RequestEvent)event);
- } else if(event instanceof RequestSkippedEvent) {
- listener.requestSkipped((RequestEvent)event);
- } else if(event instanceof RequestErrorEvent) {
- listener.requestError((RequestEvent)event);
- } else if(event instanceof SuiteCompletedEvent) {
- listener.suiteCompleted((SuiteEvent)event);
- }
- }
-
- public void requestSucceeded(RequestEvent event) {
- broadcastEvent(event);
- }
-
- public void requestFailed(RequestEvent event) {
- broadcastEvent(event);
- }
-
- public void requestSkipped(RequestEvent event) {
- broadcastEvent(event);
- }
-
- public void requestError(RequestEvent event) {
- broadcastEvent(event);
- }
-
- public void suiteCompleted(SuiteEvent event) {
- broadcastEvent(event);
- }
-
+
+ /** the listeners to publish events to */
+ protected List _list = new ArrayList();
+
+ /**
+ * add a {@link LatkaEventListener} to the list of publishees.
+ * @param listener a {@link LatkaEventListener}
+ */
+ public void addListener(LatkaEventListener listener) {
+ _list.add(listener);
+ }
+
+ /**
+ * Send the provided event object to all registered listeners
+ * @param event an event to be sent
+ */
+ public void broadcastEvent(LatkaEvent event) {
+ Iterator iter = _list.iterator();
+ while (iter.hasNext()) {
+ broadcastEvent(event, (LatkaEventListener) iter.next());
+ }
+ }
+
+ /**
+ * Send the provided event to the provided listener
+ * @param event an event to be sent
+ * @param listener the listener to send it to
+ */
+ protected void broadcastEvent(LatkaEvent event, LatkaEventListener listener)
+ {
+ if (event instanceof RequestSucceededEvent) {
+ listener.requestSucceeded((RequestEvent) event);
+ } else if (event instanceof RequestFailedEvent) {
+ listener.requestFailed((RequestEvent) event);
+ } else if (event instanceof RequestSkippedEvent) {
+ listener.requestSkipped((RequestEvent) event);
+ } else if (event instanceof RequestErrorEvent) {
+ listener.requestError((RequestEvent) event);
+ } else if (event instanceof SuiteCompletedEvent) {
+ listener.suiteCompleted((SuiteEvent) event);
+ }
+ }
+
+ /**
+ * send the supplied event to all listeners
+ * @param am event to be broadcast
+ */
+ public void requestSucceeded(RequestEvent event) {
+ broadcastEvent(event);
+ }
+
+ /**
+ * send the supplied event to all listeners
+ * @param am event to be broadcast
+ */
+ public void requestFailed(RequestEvent event) {
+ broadcastEvent(event);
+ }
+
+ /**
+ * send the supplied event to all listeners
+ * @param am event to be broadcast
+ */
+ public void requestSkipped(RequestEvent event) {
+ broadcastEvent(event);
+ }
+
+ /**
+ * send the supplied event to all listeners
+ * @param am event to be broadcast
+ */
+ public void requestError(RequestEvent event) {
+ broadcastEvent(event);
+ }
+
+ /**
+ * send the supplied event to all listeners
+ * @param am event to be broadcast
+ */
+ public void suiteCompleted(SuiteEvent event) {
+ broadcastEvent(event);
+ }
}
1.6 +15 -7
jakarta-commons/latka/src/java/org/apache/commons/latka/event/RequestEvent.java
Index: RequestEvent.java
===================================================================
RCS file:
/home/cvs/jakarta-commons/latka/src/java/org/apache/commons/latka/event/RequestEvent.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- RequestEvent.java 19 Jan 2002 04:37:36 -0000 1.5
+++ RequestEvent.java 10 Apr 2002 22:36:39 -0000 1.6
@@ -1,9 +1,13 @@
/*
+ *
+ *
+ *
+ *
* ====================================================================
*
* The Apache Software License, Version 1.1
*
- * Copyright (c) 1999 The Apache Software Foundation. All rights
+ * Copyright (c) 1999-2002 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -11,7 +15,7 @@
* are met:
*
* 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
+ * notice, this list of conditions and the following disclaimer.
*
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in
@@ -19,15 +23,15 @@
* distribution.
*
* 3. The end-user documentation included with the redistribution, if
- * any, must include the following acknowlegement:
- * "This product includes software developed by the
+ * any, must include the following acknowlegement:
+ * "This product includes software developed by the
* Apache Software Foundation (http://www.apache.org/)."
* Alternately, this acknowlegement may appear in the software itself,
* if and wherever such third-party acknowlegements normally appear.
*
- * 4. The names "The Jakarta Project", "Tomcat", and "Apache Software
+ * 4. The names "The Jakarta Project", "Commons", and "Apache Software
* Foundation" must not be used to endorse or promote products derived
- * from this software without prior written permission. For written
+ * from this software without prior written permission. For written
* permission, please contact [EMAIL PROTECTED]
*
* 5. Products derived from this software may not be called "Apache"
@@ -55,7 +59,7 @@
*
* [Additional notices, if required by prior licensing conditions]
*
- */
+ */
package org.apache.commons.latka.event;
@@ -65,6 +69,10 @@
/**
* The basic set of methods available on all Latka events
+ *
+ * @author Morgan Delagrange
+ * @author <a href="[EMAIL PROTECTED]">dIon Gillard</a>
+ * @version $Id: RequestEvent.java,v 1.6 2002/04/10 22:36:39 dion Exp $
*/
public interface RequestEvent extends LatkaEvent {
1.7 +14 -12
jakarta-commons/latka/src/java/org/apache/commons/latka/event/RequestSkippedEvent.java
Index: RequestSkippedEvent.java
===================================================================
RCS file:
/home/cvs/jakarta-commons/latka/src/java/org/apache/commons/latka/event/RequestSkippedEvent.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- RequestSkippedEvent.java 2 Feb 2002 12:52:54 -0000 1.6
+++ RequestSkippedEvent.java 10 Apr 2002 22:36:39 -0000 1.7
@@ -1,9 +1,13 @@
/*
+ *
+ *
+ *
+ *
* ====================================================================
*
* The Apache Software License, Version 1.1
*
- * Copyright (c) 1999 The Apache Software Foundation. All rights
+ * Copyright (c) 1999-2002 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -11,7 +15,7 @@
* are met:
*
* 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
+ * notice, this list of conditions and the following disclaimer.
*
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in
@@ -19,15 +23,15 @@
* distribution.
*
* 3. The end-user documentation included with the redistribution, if
- * any, must include the following acknowlegement:
- * "This product includes software developed by the
+ * any, must include the following acknowlegement:
+ * "This product includes software developed by the
* Apache Software Foundation (http://www.apache.org/)."
* Alternately, this acknowlegement may appear in the software itself,
* if and wherever such third-party acknowlegements normally appear.
*
- * 4. The names "The Jakarta Project", "Tomcat", and "Apache Software
+ * 4. The names "The Jakarta Project", "Commons", and "Apache Software
* Foundation" must not be used to endorse or promote products derived
- * from this software without prior written permission. For written
+ * from this software without prior written permission. For written
* permission, please contact [EMAIL PROTECTED]
*
* 5. Products derived from this software may not be called "Apache"
@@ -55,7 +59,7 @@
*
* [Additional notices, if required by prior licensing conditions]
*
- */
+ */
package org.apache.commons.latka.event;
@@ -67,17 +71,15 @@
*
* @author Morgan Delagrange
* @author dIon Gillard
- * @version $Id: RequestSkippedEvent.java,v 1.6 2002/02/02 12:52:54 dion Exp $
+ * @version $Id: RequestSkippedEvent.java,v 1.7 2002/04/10 22:36:39 dion Exp $
*/
-public class RequestSkippedEvent extends BaseRequestEvent
- implements RequestEvent {
- // FIXME: Doesn't need to implement RequestEvent as base already does
+public class RequestSkippedEvent extends BaseRequestEvent {
/** Create a RequestSkippedEvent with the provided request and response
* @param request The request that was skipped
* @param response The response for the request
*/
public RequestSkippedEvent(Request request, Response response) {
- super(request,response);
+ super(request, response);
}
}
1.7 +17 -11
jakarta-commons/latka/src/java/org/apache/commons/latka/event/RequestFailedEvent.java
Index: RequestFailedEvent.java
===================================================================
RCS file:
/home/cvs/jakarta-commons/latka/src/java/org/apache/commons/latka/event/RequestFailedEvent.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- RequestFailedEvent.java 2 Feb 2002 12:50:57 -0000 1.6
+++ RequestFailedEvent.java 10 Apr 2002 22:36:39 -0000 1.7
@@ -1,9 +1,13 @@
/*
+ *
+ *
+ *
+ *
* ====================================================================
*
* The Apache Software License, Version 1.1
*
- * Copyright (c) 1999 The Apache Software Foundation. All rights
+ * Copyright (c) 1999-2002 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -11,7 +15,7 @@
* are met:
*
* 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
+ * notice, this list of conditions and the following disclaimer.
*
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in
@@ -19,15 +23,15 @@
* distribution.
*
* 3. The end-user documentation included with the redistribution, if
- * any, must include the following acknowlegement:
- * "This product includes software developed by the
+ * any, must include the following acknowlegement:
+ * "This product includes software developed by the
* Apache Software Foundation (http://www.apache.org/)."
* Alternately, this acknowlegement may appear in the software itself,
* if and wherever such third-party acknowlegements normally appear.
*
- * 4. The names "The Jakarta Project", "Tomcat", and "Apache Software
+ * 4. The names "The Jakarta Project", "Commons", and "Apache Software
* Foundation" must not be used to endorse or promote products derived
- * from this software without prior written permission. For written
+ * from this software without prior written permission. For written
* permission, please contact [EMAIL PROTECTED]
*
* 5. Products derived from this software may not be called "Apache"
@@ -55,7 +59,7 @@
*
* [Additional notices, if required by prior licensing conditions]
*
- */
+ */
package org.apache.commons.latka.event;
@@ -68,9 +72,10 @@
*
* @author Morgan Delagrange
* @author dIon Gillard
- * @version $Id: RequestFailedEvent.java,v 1.6 2002/02/02 12:50:57 dion Exp $
+ * @version $Id: RequestFailedEvent.java,v 1.7 2002/04/10 22:36:39 dion Exp $
*/
-public class RequestFailedEvent extends BaseRequestEvent implements RequestEvent {
+public class RequestFailedEvent extends BaseRequestEvent implements RequestEvent
+ {
/** used to hold the validation exception */
private ValidationException _ex = null;
@@ -80,8 +85,9 @@
* @param response The response from processing the failed request
* @param e The validation failure
*/
- public RequestFailedEvent(Request request, Response response,
ValidationException e) {
- super(request,response);
+ public RequestFailedEvent(Request request, Response response,
+ ValidationException e) {
+ super(request, response);
_ex = e;
}
1.6 +12 -8
jakarta-commons/latka/src/java/org/apache/commons/latka/event/SuiteCompletedEvent.java
Index: SuiteCompletedEvent.java
===================================================================
RCS file:
/home/cvs/jakarta-commons/latka/src/java/org/apache/commons/latka/event/SuiteCompletedEvent.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- SuiteCompletedEvent.java 19 Jan 2002 04:40:17 -0000 1.5
+++ SuiteCompletedEvent.java 10 Apr 2002 22:36:39 -0000 1.6
@@ -1,9 +1,13 @@
/*
+ *
+ *
+ *
+ *
* ====================================================================
*
* The Apache Software License, Version 1.1
*
- * Copyright (c) 1999 The Apache Software Foundation. All rights
+ * Copyright (c) 1999-2002 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -11,7 +15,7 @@
* are met:
*
* 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
+ * notice, this list of conditions and the following disclaimer.
*
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in
@@ -19,15 +23,15 @@
* distribution.
*
* 3. The end-user documentation included with the redistribution, if
- * any, must include the following acknowlegement:
- * "This product includes software developed by the
+ * any, must include the following acknowlegement:
+ * "This product includes software developed by the
* Apache Software Foundation (http://www.apache.org/)."
* Alternately, this acknowlegement may appear in the software itself,
* if and wherever such third-party acknowlegements normally appear.
*
- * 4. The names "The Jakarta Project", "Tomcat", and "Apache Software
+ * 4. The names "The Jakarta Project", "Commons", and "Apache Software
* Foundation" must not be used to endorse or promote products derived
- * from this software without prior written permission. For written
+ * from this software without prior written permission. For written
* permission, please contact [EMAIL PROTECTED]
*
* 5. Products derived from this software may not be called "Apache"
@@ -55,13 +59,13 @@
*
* [Additional notices, if required by prior licensing conditions]
*
- */
+ */
package org.apache.commons.latka.event;
/** An event Latka fires when a suite has completed
* @author Morgan Delagrange
- * @version $Id: SuiteCompletedEvent.java,v 1.5 2002/01/19 04:40:17 dion Exp $
+ * @version $Id: SuiteCompletedEvent.java,v 1.6 2002/04/10 22:36:39 dion Exp $
*/
public class SuiteCompletedEvent implements SuiteEvent {
1.6 +12 -8
jakarta-commons/latka/src/java/org/apache/commons/latka/event/SuiteEvent.java
Index: SuiteEvent.java
===================================================================
RCS file:
/home/cvs/jakarta-commons/latka/src/java/org/apache/commons/latka/event/SuiteEvent.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- SuiteEvent.java 19 Jan 2002 04:40:40 -0000 1.5
+++ SuiteEvent.java 10 Apr 2002 22:36:39 -0000 1.6
@@ -1,9 +1,13 @@
/*
+ *
+ *
+ *
+ *
* ====================================================================
*
* The Apache Software License, Version 1.1
*
- * Copyright (c) 1999 The Apache Software Foundation. All rights
+ * Copyright (c) 1999-2002 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -11,7 +15,7 @@
* are met:
*
* 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
+ * notice, this list of conditions and the following disclaimer.
*
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in
@@ -19,15 +23,15 @@
* distribution.
*
* 3. The end-user documentation included with the redistribution, if
- * any, must include the following acknowlegement:
- * "This product includes software developed by the
+ * any, must include the following acknowlegement:
+ * "This product includes software developed by the
* Apache Software Foundation (http://www.apache.org/)."
* Alternately, this acknowlegement may appear in the software itself,
* if and wherever such third-party acknowlegements normally appear.
*
- * 4. The names "The Jakarta Project", "Tomcat", and "Apache Software
+ * 4. The names "The Jakarta Project", "Commons", and "Apache Software
* Foundation" must not be used to endorse or promote products derived
- * from this software without prior written permission. For written
+ * from this software without prior written permission. For written
* permission, please contact [EMAIL PROTECTED]
*
* 5. Products derived from this software may not be called "Apache"
@@ -55,13 +59,13 @@
*
* [Additional notices, if required by prior licensing conditions]
*
- */
+ */
package org.apache.commons.latka.event;
/** An interface to mark classes as being SuiteEvents
* @author Morgan Delagrange
- * @version $Id: SuiteEvent.java,v 1.5 2002/01/19 04:40:40 dion Exp $
+ * @version $Id: SuiteEvent.java,v 1.6 2002/04/10 22:36:39 dion Exp $
*/
public interface SuiteEvent extends LatkaEvent {
}
1.7 +16 -11
jakarta-commons/latka/src/java/org/apache/commons/latka/event/RequestSucceededEvent.java
Index: RequestSucceededEvent.java
===================================================================
RCS file:
/home/cvs/jakarta-commons/latka/src/java/org/apache/commons/latka/event/RequestSucceededEvent.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- RequestSucceededEvent.java 2 Feb 2002 13:25:09 -0000 1.6
+++ RequestSucceededEvent.java 10 Apr 2002 22:36:39 -0000 1.7
@@ -1,9 +1,13 @@
/*
+ *
+ *
+ *
+ *
* ====================================================================
*
* The Apache Software License, Version 1.1
*
- * Copyright (c) 1999 The Apache Software Foundation. All rights
+ * Copyright (c) 1999-2002 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -11,7 +15,7 @@
* are met:
*
* 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
+ * notice, this list of conditions and the following disclaimer.
*
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in
@@ -19,15 +23,15 @@
* distribution.
*
* 3. The end-user documentation included with the redistribution, if
- * any, must include the following acknowlegement:
- * "This product includes software developed by the
+ * any, must include the following acknowlegement:
+ * "This product includes software developed by the
* Apache Software Foundation (http://www.apache.org/)."
* Alternately, this acknowlegement may appear in the software itself,
* if and wherever such third-party acknowlegements normally appear.
*
- * 4. The names "The Jakarta Project", "Tomcat", and "Apache Software
+ * 4. The names "The Jakarta Project", "Commons", and "Apache Software
* Foundation" must not be used to endorse or promote products derived
- * from this software without prior written permission. For written
+ * from this software without prior written permission. For written
* permission, please contact [EMAIL PROTECTED]
*
* 5. Products derived from this software may not be called "Apache"
@@ -55,7 +59,7 @@
*
* [Additional notices, if required by prior licensing conditions]
*
- */
+ */
package org.apache.commons.latka.event;
import org.apache.commons.latka.http.Request;
@@ -66,15 +70,16 @@
*
* @author Morgan Delagrange
* @author dIon Gillard
- * @version $Id: RequestSucceededEvent.java,v 1.6 2002/02/02 13:25:09 dion Exp $
+ * @version $Id: RequestSucceededEvent.java,v 1.7 2002/04/10 22:36:39 dion Exp $
*/
-public class RequestSucceededEvent extends BaseRequestEvent implements RequestEvent
{
+public class RequestSucceededEvent extends BaseRequestEvent {
- /** Create the event for the given request and response
+ /**
+ * Create the event for the given request and response
* @param request The request that succeeded
* @param response The response generated for the request
*/
public RequestSucceededEvent(Request request, Response response) {
- super(request,response);
+ super(request, response);
}
}
1.8 +15 -11
jakarta-commons/latka/src/java/org/apache/commons/latka/event/RequestErrorEvent.java
Index: RequestErrorEvent.java
===================================================================
RCS file:
/home/cvs/jakarta-commons/latka/src/java/org/apache/commons/latka/event/RequestErrorEvent.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- RequestErrorEvent.java 2 Feb 2002 12:49:14 -0000 1.7
+++ RequestErrorEvent.java 10 Apr 2002 22:36:39 -0000 1.8
@@ -1,9 +1,13 @@
/*
+ *
+ *
+ *
+ *
* ====================================================================
*
* The Apache Software License, Version 1.1
*
- * Copyright (c) 1999 The Apache Software Foundation. All rights
+ * Copyright (c) 1999-2002 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -11,7 +15,7 @@
* are met:
*
* 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
+ * notice, this list of conditions and the following disclaimer.
*
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in
@@ -19,15 +23,15 @@
* distribution.
*
* 3. The end-user documentation included with the redistribution, if
- * any, must include the following acknowlegement:
- * "This product includes software developed by the
+ * any, must include the following acknowlegement:
+ * "This product includes software developed by the
* Apache Software Foundation (http://www.apache.org/)."
* Alternately, this acknowlegement may appear in the software itself,
* if and wherever such third-party acknowlegements normally appear.
*
- * 4. The names "The Jakarta Project", "Tomcat", and "Apache Software
+ * 4. The names "The Jakarta Project", "Commons", and "Apache Software
* Foundation" must not be used to endorse or promote products derived
- * from this software without prior written permission. For written
+ * from this software without prior written permission. For written
* permission, please contact [EMAIL PROTECTED]
*
* 5. Products derived from this software may not be called "Apache"
@@ -55,7 +59,7 @@
*
* [Additional notices, if required by prior licensing conditions]
*
- */
+ */
package org.apache.commons.latka.event;
@@ -67,10 +71,10 @@
*
* @author Morgan Delagrange
* @author dIon Gillard
- * @version $Id: RequestErrorEvent.java,v 1.7 2002/02/02 12:49:14 dion Exp $
+ * @version $Id: RequestErrorEvent.java,v 1.8 2002/04/10 22:36:39 dion Exp $
*/
-public class RequestErrorEvent extends BaseRequestEvent implements RequestEvent {
- // FIXME: No need to implement RequestEvent as BaseRequestEvent already does
+public class RequestErrorEvent extends BaseRequestEvent
+ {
/**
* holds the error
@@ -84,7 +88,7 @@
* @param t Some throwable representing the error, e.g. an Exception
*/
public RequestErrorEvent(Request request, Response response, Throwable t) {
- super(request,response);
+ super(request, response);
_t = t;
}
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>