站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Spring Framework 2.0.5 API 文档英文版

JndiLookupFailureException (Spring Framework API 2.0) - Spring Framework 2.0.5 API 文档英文版

The Spring Framework

org.springframework.jndi
Class JndiLookupFailureException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.springframework.core.NestedRuntimeException
                  extended by org.springframework.jndi.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:
Serialized Form

Constructor Summary
JndiLookupFailureException(String msg, NamingException cause)
          Construct a new JndiLookupFailureException, wrapping the given JNDI NamingException.
 
Method Summary
 
Methods inherited from class org.springframework.core.NestedRuntimeException
contains, getCause, getMessage, getMostSpecificCause, getRootCause, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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

The Spring Framework

Copyright © 2002-2007 The Spring Framework.