org.springframework.ldap
Class DefaultNamingExceptionTranslator

java.lang.Object
  extended byorg.springframework.ldap.DefaultNamingExceptionTranslator
All Implemented Interfaces:
NamingExceptionTranslator

public class DefaultNamingExceptionTranslator
extends java.lang.Object
implements NamingExceptionTranslator

The default implementation of NamingExceptionTranslator.

Author:
Mattias Arthursson

Constructor Summary
DefaultNamingExceptionTranslator()
           
 
Method Summary
 org.springframework.dao.DataAccessException translate(javax.naming.NamingException namingException)
          Translate the given NamingException into a generic data access exception.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultNamingExceptionTranslator

public DefaultNamingExceptionTranslator()
Method Detail

translate

public org.springframework.dao.DataAccessException translate(javax.naming.NamingException namingException)
Description copied from interface: NamingExceptionTranslator
Translate the given NamingException into a generic data access exception.

Specified by:
translate in interface NamingExceptionTranslator
Parameters:
namingException - the offending NamingException.
Returns:
the DataAccessException to throw.


Copyright � 2002-2006. All Rights Reserved.