Package org.springframework.jdbc
Class CannotGetJdbcConnectionException
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.dao.NonTransientDataAccessResourceException
org.springframework.dao.DataAccessResourceFailureException
org.springframework.jdbc.CannotGetJdbcConnectionException
- All Implemented Interfaces:
- Serializable
Fatal exception thrown when we can't connect to an RDBMS using JDBC.
- Author:
- Rod Johnson, Juergen Hoeller
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionConstructor for CannotGetJdbcConnectionException.Constructor for CannotGetJdbcConnectionException.
- 
Method SummaryMethods inherited from class org.springframework.core.NestedRuntimeExceptioncontains, getMessage, getMostSpecificCause, getRootCauseMethods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- 
Constructor Details- 
CannotGetJdbcConnectionExceptionConstructor for CannotGetJdbcConnectionException.- Parameters:
- msg- the detail message
- Since:
- 5.0
 
- 
CannotGetJdbcConnectionExceptionConstructor for CannotGetJdbcConnectionException.- Parameters:
- msg- the detail message
- ex- the root cause SQLException
 
 
-