cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aadamc...@apache.org
Subject svn commit: r1364082 - /cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/access/DataNode.java
Date Sat, 21 Jul 2012 13:24:11 GMT
Author: aadamchik
Date: Sat Jul 21 13:24:11 2012
New Revision: 1364082

URL: http://svn.apache.org/viewvc?rev=1364082&view=rev
Log:
CAY-1717 [PATCH] Implement JDBC compatibility layer methods

(take 2) fixing JDK 5 build... constructor used was only introduced in 1.6

Modified:
    cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/access/DataNode.java

Modified: cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/access/DataNode.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/access/DataNode.java?rev=1364082&r1=1364081&r2=1364082&view=diff
==============================================================================
--- cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/access/DataNode.java
(original)
+++ cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/access/DataNode.java
Sat Jul 21 13:24:11 2012
@@ -414,7 +414,7 @@ public class DataNode implements QueryEn
             try {
                 return iface.cast(dataSource);
             } catch (ClassCastException e) {
-                throw new SQLException("Not a DataSource", e);
+                throw new SQLException("Not a DataSource: " + e.getMessage());
             }
         }
 



Mime
View raw message