浏览代码

Now extends Spring's DataAccessException

Luke Taylor 19 年之前
父节点
当前提交
7794ebf84b
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      core/src/main/java/org/acegisecurity/ldap/LdapDataAccessException.java

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

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