net.sf.ldaptemplate
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 © 2006 Jayway AB. All Rights Reserved.