You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by dj...@apache.org on 2007/05/21 00:24:10 UTC

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

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;