public class

JndiLookupFailureException

extends NestedRuntimeException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ org.springframework.core.NestedRuntimeException
           ↳ org.springframework.jndi.JndiLookupFailureException

Class Overview

RuntimeException to be thrown in case of JNDI lookup failures, in particular from code that does not declare JNDI's checked javax.naming.NamingException: for example, from Spring's JndiObjectTargetSource.

Summary

Public Constructors
JndiLookupFailureException(String msg, NamingException cause)
Construct a new JndiLookupFailureException, wrapping the given JNDI NamingException.
[Expand]
Inherited Methods
From class org.springframework.core.NestedRuntimeException
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

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