Class JndiLookupFailureException

All Implemented Interfaces:
Serializable

public class JndiLookupFailureException extends NestedRuntimeException
RuntimeException to be thrown in case of JNDI lookup failures, in particular from code that does not declare JNDI's checked NamingException: for example, from Spring's JndiObjectTargetSource.
Since:
2.0.3
Author:
Juergen Hoeller
See Also:
  • Constructor Details

    • JndiLookupFailureException

      public JndiLookupFailureException(String msg, NamingException cause)
      Construct a new JndiLookupFailureException, wrapping the given JNDI NamingException.
      Parameters:
      msg - the detail message
      cause - the NamingException root cause