Top Description Constructors
org.springframework.jdbc.datasource.lookup

public Class DataSourceLookupFailureException

extends NonTransientDataAccessException
Class Inheritance
Annotations
@SuppressWarnings:serial
Imports
org.springframework.dao.NonTransientDataAccessException

Exception to be thrown by a DataSourceLookup implementation, indicating that the specified DataSource could not be obtained.
Author
Juergen Hoeller
Since
2.0

Constructor Summary

AccessConstructor and Description
public
DataSourceLookupFailureException(String
the detail message
msg
)

Constructor for DataSourceLookupFailureException.

public
DataSourceLookupFailureException(String
the detail message
msg
,
Throwable
the root cause (usually from using an underlying lookup API such as JNDI)
cause
)

Constructor for DataSourceLookupFailureException.

Constructor Detail

DataSourceLookupFailureExceptionback to summary
public DataSourceLookupFailureException(String msg)

Constructor for DataSourceLookupFailureException.

Parameters
msg:String

the detail message

DataSourceLookupFailureExceptionback to summary
public DataSourceLookupFailureException(String msg, Throwable cause)

Constructor for DataSourceLookupFailureException.

Parameters
msg:String

the detail message

cause:Throwable

the root cause (usually from using an underlying lookup API such as JNDI)