You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by jo...@apache.org on 2002/03/28 00:40:21 UTC
cvs commit: jakarta-turbine-fulcrum/src/services/org/apache/fulcrum/intake TurbineIntakeService.java
jon 02/03/27 15:40:21
Modified: src/services/org/apache/fulcrum/intake
TurbineIntakeService.java
Log:
fixes:
[javac] Issued 1 semantic warning compiling "/Users/jon/checkout/jakarta-turbine-fulcrum/bin/src/org/apache/fulcrum/intake/TurbineIntakeService.java":
[javac]
[javac] 271. catch (Exception e)
[javac] <--------->
[javac] *** Caution: This try block cannot throw a "checked exception" (JLS section 14.7) that can be caught here. You may have intended to catch a RuntimeException instead of an Exception.
Revision Changes Path
1.9 +3 -10 jakarta-turbine-fulcrum/src/services/org/apache/fulcrum/intake/TurbineIntakeService.java
Index: TurbineIntakeService.java
===================================================================
RCS file: /home/cvs/jakarta-turbine-fulcrum/src/services/org/apache/fulcrum/intake/TurbineIntakeService.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- TurbineIntakeService.java 25 Mar 2002 07:33:37 -0000 1.8
+++ TurbineIntakeService.java 27 Mar 2002 23:40:21 -0000 1.9
@@ -90,7 +90,7 @@
* on an XML specification.
*
* @author <a href="mailto:jmcnally@collab.net">John McNally</a>
- * @version $Id: TurbineIntakeService.java,v 1.8 2002/03/25 07:33:37 jmcnally Exp $
+ * @version $Id: TurbineIntakeService.java,v 1.9 2002/03/27 23:40:21 jon Exp $
*/
public class TurbineIntakeService
extends BaseService
@@ -263,15 +263,8 @@
}
KeyedPoolableObjectFactory factory = null;
- try
- {
- factory = new Group.GroupFactory(appData);
- keyedPool = new StackKeyedObjectPool(factory, maxPooledGroups);
- }
- catch (Exception e)
- {
- throw new ServiceException(e);
- }
+ factory = new Group.GroupFactory(appData);
+ keyedPool = new StackKeyedObjectPool(factory, maxPooledGroups);
setInit(true);
}
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>