public class CannotGetJdbcConnectionException extends DataAccessResourceFailureException
| Constructor and Description |
|---|
CannotGetJdbcConnectionException(String msg,
ClassNotFoundException ex)
Deprecated.
since Spring 2.5, in favor of throwing an
IllegalStateException in case of the driver not being found
|
CannotGetJdbcConnectionException(String msg,
SQLException ex)
Constructor for CannotGetJdbcConnectionException.
|
contains, getMessage, getMostSpecificCause, getRootCauseaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic CannotGetJdbcConnectionException(String msg, SQLException ex)
msg - the detail messageex - SQLException root cause@Deprecated public CannotGetJdbcConnectionException(String msg, ClassNotFoundException ex)
msg - the detail messageex - ClassNotFoundException root cause