cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vgritse...@apache.org
Subject svn commit: r158084 - cocoon/branches/BRANCH_2_1_X/src/blocks/ojb/java/org/apache/cocoon/ojb/components/ConnectionFactoryImpl.java
Date Fri, 18 Mar 2005 15:33:29 GMT
Author: vgritsenko
Date: Fri Mar 18 07:33:27 2005
New Revision: 158084

URL: http://svn.apache.org/viewcvs?view=rev&rev=158084
Log:
Fix typo in exception message

Modified:
    cocoon/branches/BRANCH_2_1_X/src/blocks/ojb/java/org/apache/cocoon/ojb/components/ConnectionFactoryImpl.java

Modified: cocoon/branches/BRANCH_2_1_X/src/blocks/ojb/java/org/apache/cocoon/ojb/components/ConnectionFactoryImpl.java
URL: http://svn.apache.org/viewcvs/cocoon/branches/BRANCH_2_1_X/src/blocks/ojb/java/org/apache/cocoon/ojb/components/ConnectionFactoryImpl.java?view=diff&r1=158083&r2=158084
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/src/blocks/ojb/java/org/apache/cocoon/ojb/components/ConnectionFactoryImpl.java
(original)
+++ cocoon/branches/BRANCH_2_1_X/src/blocks/ojb/java/org/apache/cocoon/ojb/components/ConnectionFactoryImpl.java
Fri Mar 18 07:33:27 2005
@@ -74,11 +74,11 @@
         try {
             return ((DataSourceComponent) ConnectionFactoryImpl.datasources.select(conDesc.getJcdAlias())).getConnection();
         } catch (final ServiceException e) {
-            throw new LookupException("Cannot lookup DataSource named " +
+            throw new LookupException("Cannot lookup DataSource " +
                                       conDesc.getJcdAlias(), e);
         } catch (final SQLException e) {
-            throw new LookupException("Cannot get connection from DataSource named " +
-                                      conDesc.getDbAlias(), e);
+            throw new LookupException("Cannot get connection from DataSource " +
+                                      conDesc.getJcdAlias(), e);
         }
     }
 



Mime
View raw message