org.springframework.ldap
Interface NamingExceptionTranslator

All Known Implementing Classes:
DefaultNamingExceptionTranslator

public interface NamingExceptionTranslator

Interface to be implemented by classes that can translate between NamingExceptions and DataAccessExceptions.

Author:
Mattias Arthursson

Method Summary
 org.springframework.dao.DataAccessException translate(javax.naming.NamingException namingException)
          Translate the given NamingException into a generic data access exception.
 

Method Detail

translate

public org.springframework.dao.DataAccessException translate(javax.naming.NamingException namingException)
Translate the given NamingException into a generic data access exception.

Parameters:
namingException - the offending NamingException.
Returns:
the DataAccessException to throw.


Copyright � 2002-2006. All Rights Reserved.