geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ga...@apache.org
Subject svn commit: r587156 - /geronimo/server/trunk/modules/geronimo-security/src/main/java/org/apache/geronimo/security/realm/providers/SQLLoginModule.java
Date Mon, 22 Oct 2007 17:11:23 GMT
Author: gawor
Date: Mon Oct 22 10:11:21 2007
New Revision: 587156

URL: http://svn.apache.org/viewvc?rev=587156&view=rev
Log:
don't wrap LoginException with LoginException

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?rev=587156&r1=587155&r2=587156&view=diff
==============================================================================
--- 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
Mon Oct 22 10:11:21 2007
@@ -271,6 +271,8 @@
             } finally {
                 conn.close();
             }
+        } catch (LoginException e) {
+            throw e;
         } catch (SQLException sqle) {
             throw (LoginException) new LoginException("SQL error").initCause(sqle);
         } catch (Exception e) {



Mime
View raw message