当前页面:
在线文档首页 >
Spring Framework 2.0.5 API 文档英文版
DataSourceLookupFailureException (Spring Framework API 2.0) - Spring Framework 2.0.5 API 文档英文版
org.springframework.jdbc.datasource.lookup
Class DataSourceLookupFailureException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.core.NestedRuntimeException
org.springframework.dao.DataAccessException
org.springframework.jdbc.datasource.lookup.DataSourceLookupFailureException
- All Implemented Interfaces:
- Serializable
public class DataSourceLookupFailureException
- extends DataAccessException
Exception to be thrown by a DataSourceLookup implementation,
indicating that the specified DataSource could not be obtained.
- Since:
- 2.0
- Author:
- Juergen Hoeller
- See Also:
- Serialized Form
DataSourceLookupFailureException
public DataSourceLookupFailureException(String msg)
- Constructor for DataSourceLookupFailureException.
- Parameters:
msg
- the detail message
DataSourceLookupFailureException
public DataSourceLookupFailureException(String msg,
Throwable cause)
- Constructor for DataSourceLookupFailureException.
- Parameters:
msg
- the detail messagecause
- the root cause (usually from using a underlying
lookup API such as JNDI)
Copyright © 2002-2007 The Spring Framework.