Prechádzať zdrojové kódy

Changed LdapDataAccessException to extend AuthenticationServiceException.

Luke Taylor 19 rokov pred
rodič
commit
dc728987f4

+ 2 - 2
core/src/main/java/org/acegisecurity/providers/ldap/LdapDataAccessException.java

@@ -15,7 +15,7 @@
 
 
 package org.acegisecurity.providers.ldap;
 package org.acegisecurity.providers.ldap;
 
 
-import org.springframework.dao.UncategorizedDataAccessException;
+import org.acegisecurity.AuthenticationServiceException;
 
 
 /**
 /**
  * Used to wrap unexpected NamingExceptions while accessing the LDAP server.
  * Used to wrap unexpected NamingExceptions while accessing the LDAP server.
@@ -23,7 +23,7 @@ import org.springframework.dao.UncategorizedDataAccessException;
  * @author Luke Taylor
  * @author Luke Taylor
  * @version $Id$
  * @version $Id$
  */
  */
-public class LdapDataAccessException extends UncategorizedDataAccessException {
+public class LdapDataAccessException extends AuthenticationServiceException {
 
 
     public LdapDataAccessException(String msg, Throwable ex) {
     public LdapDataAccessException(String msg, Throwable ex) {
         super(msg, ex);
         super(msg, ex);