Remove unthrown exception
authorSebastian Bazley <sebb@apache.org>
Thu, 26 Nov 2009 01:02:12 +0000 (01:02 +0000)
committerSebastian Bazley <sebb@apache.org>
Thu, 26 Nov 2009 01:02:12 +0000 (01:02 +0000)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/dbcp/trunk@884350 13f79535-47bb-0310-9956-ffa450edef68

doc/BasicDataSourceExample.java

index ba13bf0..da45c7e 100644 (file)
@@ -119,7 +119,7 @@ public class BasicDataSourceExample {
         return ds;
     }
 
-    public static void printDataSourceStats(DataSource ds) throws SQLException {
+    public static void printDataSourceStats(DataSource ds) {
         BasicDataSource bds = (BasicDataSource) ds;
         System.out.println("NumActive: " + bds.getNumActive());
         System.out.println("NumIdle: " + bds.getNumIdle());