Class DataSourceLookupFailureException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.core.NestedRuntimeException
org.springframework.dao.DataAccessException
org.springframework.dao.NonTransientDataAccessException
org.springframework.jdbc.datasource.lookup.DataSourceLookupFailureException
- All Implemented Interfaces:
Serializable
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:
-
Constructor Summary
ConstructorDescriptionConstructor for DataSourceLookupFailureException.DataSourceLookupFailureException
(String msg, Throwable cause) Constructor for DataSourceLookupFailureException. -
Method Summary
Methods inherited from class org.springframework.core.NestedRuntimeException
contains, getMessage, getMostSpecificCause, getRootCause
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
DataSourceLookupFailureException
Constructor for DataSourceLookupFailureException.- Parameters:
msg
- the detail message
-
DataSourceLookupFailureException
Constructor for DataSourceLookupFailureException.- Parameters:
msg
- the detail messagecause
- the root cause (usually from using a underlying lookup API such as JNDI)
-