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

public class DataSourceLookupFailureException extends org.springframework.dao.NonTransientDataAccessException
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 Details

    • 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 message
      cause - the root cause (usually from using an underlying lookup API such as JNDI)