remm 2002/06/08 19:10:51
Modified: catalina/src/share/org/apache/catalina Lifecycle.java
Log:
- ISE should *not* be thrown when the component running state is invalid
(bug 6206).
Revision Changes Path
1.6 +4 -7
jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/Lifecycle.java
Index: Lifecycle.java
===================================================================
RCS file:
/home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/Lifecycle.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- Lifecycle.java 13 May 2002 20:11:51 -0000 1.5
+++ Lifecycle.java 9 Jun 2002 02:10:50 -0000 1.6
@@ -1,7 +1,7 @@
/*
- * $Header:
/home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/Lifecycle.java,v
1.5 2002/05/13 20:11:51 remm Exp $
- * $Revision: 1.5 $
- * $Date: 2002/05/13 20:11:51 $
+ * $Header:
/home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/Lifecycle.java,v
1.6 2002/06/09 02:10:50 remm Exp $
+ * $Revision: 1.6 $
+ * $Date: 2002/06/09 02:10:50 $
*
* ====================================================================
*
@@ -72,7 +72,7 @@
* provide a consistent mechanism to start and stop the component.
*
* @author Craig R. McClanahan
- * @version $Revision: 1.5 $ $Date: 2002/05/13 20:11:51 $
+ * @version $Revision: 1.6 $ $Date: 2002/06/09 02:10:50 $
*/
public interface Lifecycle {
@@ -149,8 +149,6 @@
* methods of this component are utilized. It should also send a
* LifecycleEvent of type START_EVENT to any registered listeners.
*
- * @exception IllegalStateException if this component has already been
- * started
* @exception LifecycleException if this component detects a fatal error
* that prevents this component from being used
*/
@@ -163,7 +161,6 @@
* instance of this component. It should also send a LifecycleEvent
* of type STOP_EVENT to any registered listeners.
*
- * @exception IllegalStateException if this component has not been started
* @exception LifecycleException if this component detects a fatal error
* that needs to be reported
*/
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>