public class

DataSourceLookupFailureException

extends NonTransientDataAccessException
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

Class Overview

Exception to be thrown by a DataSourceLookup implementation, indicating that the specified DataSource could not be obtained.

Summary

Public Constructors
DataSourceLookupFailureException(String msg)
Constructor for DataSourceLookupFailureException.
DataSourceLookupFailureException(String msg, Throwable cause)
Constructor for DataSourceLookupFailureException.
[Expand]
Inherited Methods
From class org.springframework.core.NestedRuntimeException
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public DataSourceLookupFailureException (String msg)

Constructor for DataSourceLookupFailureException.

Parameters
msg the detail message

public DataSourceLookupFailureException (String msg, Throwable cause)

Constructor for DataSourceLookupFailureException.

Parameters
msg the detail message
cause the root cause (usually from using a underlying lookup API such as JNDI)