|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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
public class CannotGetJdbcConnectionException
Fatal exception thrown when we can't connect to an RDBMS using JDBC.
Constructor Summary | |
---|---|
CannotGetJdbcConnectionException(java.lang.String msg,
java.lang.ClassNotFoundException ex)
Deprecated. since Spring 2.5, in favor of throwing an IllegalStateException in case of the driver not being found |
|
CannotGetJdbcConnectionException(java.lang.String msg,
java.sql.SQLException ex)
Constructor for CannotGetJdbcConnectionException. |
Method Summary |
---|
Methods inherited from class org.springframework.core.NestedRuntimeException |
---|
contains, getMessage, getMostSpecificCause, getRootCause |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CannotGetJdbcConnectionException(java.lang.String msg, java.sql.SQLException ex)
msg
- the detail messageex
- SQLException root cause@Deprecated public CannotGetJdbcConnectionException(java.lang.String msg, java.lang.ClassNotFoundException ex)
msg
- the detail messageex
- ClassNotFoundException root cause
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |