org.springframework.jdbc.datasource
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.DataAccessResourceFailureException
|
+--org.springframework.jdbc.datasource.CannotGetJdbcConnectionException
- public class CannotGetJdbcConnectionException
- extends DataAccessResourceFailureException
Fatal exception thrown when we can't connect to an RDBMS using JDBC.
- Author:
- Rod Johnson
| Methods inherited from class java.lang.Throwable |
printStackTrace, getStackTrace, setStackTrace, getLocalizedMessage, toString, fillInStackTrace, initCause |
| Methods inherited from class java.lang.Object |
hashCode, notify, notifyAll, wait, wait, wait, getClass, equals |
CannotGetJdbcConnectionException
public CannotGetJdbcConnectionException(Throwable ex)
- Constructor for CannotGetJdbcConnectionException.
- Parameters:
- ex - root cause from data access API in use
CannotGetJdbcConnectionException
public CannotGetJdbcConnectionException(String msg, Throwable ex)
- Constructor for CannotGetJdbcConnectionException.
- Parameters:
- msg - message
- ex - root cause from data access API in use