cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ilgro...@apache.org
Subject svn commit: r1571626 - /cocoon/branches/BRANCH_2_1_X/src/blocks/databases/java/org/apache/cocoon/databases/ibatis/ExcaliburDataSourceFactory.java
Date Tue, 25 Feb 2014 09:20:43 GMT
Author: ilgrosso
Date: Tue Feb 25 09:20:42 2014
New Revision: 1571626

URL: http://svn.apache.org/r1571626
Log:
[COCOON-2339] throwing unchecked IllegalArgumentException instead of SQLException to preserve
builds with JDK < 1.7

Modified:
    cocoon/branches/BRANCH_2_1_X/src/blocks/databases/java/org/apache/cocoon/databases/ibatis/ExcaliburDataSourceFactory.java

Modified: cocoon/branches/BRANCH_2_1_X/src/blocks/databases/java/org/apache/cocoon/databases/ibatis/ExcaliburDataSourceFactory.java
URL: http://svn.apache.org/viewvc/cocoon/branches/BRANCH_2_1_X/src/blocks/databases/java/org/apache/cocoon/databases/ibatis/ExcaliburDataSourceFactory.java?rev=1571626&r1=1571625&r2=1571626&view=diff
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/src/blocks/databases/java/org/apache/cocoon/databases/ibatis/ExcaliburDataSourceFactory.java
(original)
+++ cocoon/branches/BRANCH_2_1_X/src/blocks/databases/java/org/apache/cocoon/databases/ibatis/ExcaliburDataSourceFactory.java
Tue Feb 25 09:20:42 2014
@@ -132,7 +132,7 @@ public class ExcaliburDataSourceFactory 
          * Required by JDK1.7.
          */
         public Logger getParentLogger() {
-	    throw new SQLException("Feature not supported");
+	    throw new IllegalArgumentException("Feature not supported");
 	}
     }
 }



Mime
View raw message