You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by ga...@apache.org on 2007/10/22 19:15:54 UTC
svn commit: r587159 -
/geronimo/server/branches/2.0/modules/geronimo-security/src/main/java/org/apache/geronimo/security/realm/providers/SQLLoginModule.java
Author: gawor
Date: Mon Oct 22 10:15:52 2007
New Revision: 587159
URL: http://svn.apache.org/viewvc?rev=587159&view=rev
Log:
don't wrap LoginException with LoginException
Modified:
geronimo/server/branches/2.0/modules/geronimo-security/src/main/java/org/apache/geronimo/security/realm/providers/SQLLoginModule.java
Modified: geronimo/server/branches/2.0/modules/geronimo-security/src/main/java/org/apache/geronimo/security/realm/providers/SQLLoginModule.java
URL: http://svn.apache.org/viewvc/geronimo/server/branches/2.0/modules/geronimo-security/src/main/java/org/apache/geronimo/security/realm/providers/SQLLoginModule.java?rev=587159&r1=587158&r2=587159&view=diff
==============================================================================
--- geronimo/server/branches/2.0/modules/geronimo-security/src/main/java/org/apache/geronimo/security/realm/providers/SQLLoginModule.java (original)
+++ geronimo/server/branches/2.0/modules/geronimo-security/src/main/java/org/apache/geronimo/security/realm/providers/SQLLoginModule.java Mon Oct 22 10:15:52 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) {