Changed LdapDataAccessException to extend AuthenticationServiceException.

This commit is contained in:
Luke Taylor 2005-12-21 00:14:15 +00:00
parent 0f678d53ba
commit dc728987f4

View File

@ -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);