类 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
- 所有已实现的接口:
Serializable
public class CannotGetJdbcConnectionException extends DataAccessResourceFailureException
Fatal exception thrown when we can't connect to an RDBMS using JDBC.- 作者:
- Rod Johnson
- 另请参阅:
- 序列化表格
构造器概要
构造器 构造器 说明 CannotGetJdbcConnectionException(String msg, SQLException ex)
Constructor for CannotGetJdbcConnectionException.
方法概要
从类继承的方法 org.springframework.core.NestedRuntimeException
contains, getMessage, getMostSpecificCause, getRootCause
构造器详细资料
CannotGetJdbcConnectionException
public CannotGetJdbcConnectionException(String msg, SQLException ex)
Constructor for CannotGetJdbcConnectionException.- 参数:
msg
- the detail messageex
- SQLException root cause