geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From djen...@apache.org
Subject svn commit: r539968 - /geronimo/server/trunk/modules/geronimo-security/src/main/java/org/apache/geronimo/security/realm/providers/SQLLoginModule.java
Date Sun, 20 May 2007 22:24:10 GMT
Author: djencks
Date: Sun May 20 15:24:09 2007
New Revision: 539968

URL: http://svn.apache.org/viewvc?view=rev&rev=539968
Log:
GERONIMO-3175 yet another overlooked change to exception signature as a result of previous
change

Modified:
    geronimo/server/trunk/modules/geronimo-security/src/main/java/org/apache/geronimo/security/realm/providers/SQLLoginModule.java

Modified: geronimo/server/trunk/modules/geronimo-security/src/main/java/org/apache/geronimo/security/realm/providers/SQLLoginModule.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/modules/geronimo-security/src/main/java/org/apache/geronimo/security/realm/providers/SQLLoginModule.java?view=diff&rev=539968&r1=539967&r2=539968
==============================================================================
--- geronimo/server/trunk/modules/geronimo-security/src/main/java/org/apache/geronimo/security/realm/providers/SQLLoginModule.java
(original)
+++ geronimo/server/trunk/modules/geronimo-security/src/main/java/org/apache/geronimo/security/realm/providers/SQLLoginModule.java
Sun May 20 15:24:09 2007
@@ -255,6 +255,8 @@
             }
         } catch (SQLException sqle) {
             throw (LoginException) new LoginException("SQL error").initCause(sqle);
+        } catch (Exception e) {
+            throw (LoginException) new LoginException("Could not access datasource").initCause(e);
         }
 
         return true;



Mime
View raw message