commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r883416 - /commons/proper/dbcp/trunk/src/java/org/apache/commons/jocl/JOCLContentHandler.java
Date Mon, 23 Nov 2009 17:12:15 GMT
Author: sebb
Date: Mon Nov 23 17:12:14 2009
New Revision: 883416

URL: http://svn.apache.org/viewvc?rev=883416&view=rev
Log:
The unchecked NumberFormatException may also be thrown; ensure compatibilty with previous
code version

Modified:
    commons/proper/dbcp/trunk/src/java/org/apache/commons/jocl/JOCLContentHandler.java

Modified: commons/proper/dbcp/trunk/src/java/org/apache/commons/jocl/JOCLContentHandler.java
URL: http://svn.apache.org/viewvc/commons/proper/dbcp/trunk/src/java/org/apache/commons/jocl/JOCLContentHandler.java?rev=883416&r1=883415&r2=883416&view=diff
==============================================================================
--- commons/proper/dbcp/trunk/src/java/org/apache/commons/jocl/JOCLContentHandler.java (original)
+++ commons/proper/dbcp/trunk/src/java/org/apache/commons/jocl/JOCLContentHandler.java Mon
Nov 23 17:12:14 2009
@@ -478,6 +478,8 @@
                     // unrecognized JOCL element warning?
                 }
             }
+        } catch(NumberFormatException e) {
+            throw new SAXException(e);
         } catch(ClassNotFoundException e) {
             throw new SAXException(e);
         }



Mime
View raw message