Top Description Constructors Methods
org.springframework.jndi

public Class JndiLookupFailureException

extends NestedRuntimeException
Class Inheritance
Annotations
@SuppressWarnings:serial
Imports
javax.naming.NamingException, org.springframework.core.NestedRuntimeException

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.
Author
Juergen Hoeller
Since
2.0.3

Constructor Summary

AccessConstructor and Description
public
JndiLookupFailureException(String
the detail message
msg
,
NamingException
the NamingException root cause
cause
)

Construct a new JndiLookupFailureException, wrapping the given JNDI NamingException.

Method Summary

Inherited from org.springframework.core.NestedRuntimeException:
containsgetMostSpecificCausegetRootCause

Constructor Detail

JndiLookupFailureExceptionback to summary
public JndiLookupFailureException(String msg, NamingException cause)

Construct a new JndiLookupFailureException, wrapping the given JNDI NamingException.

Parameters
msg:String

the detail message

cause:NamingException

the NamingException root cause