Top Description Constructors
org.springframework.jdbc

public Class CannotGetJdbcConnectionException

extends DataAccessResourceFailureException
Class Inheritance
Annotations
@SuppressWarnings:serial
Imports
java.sql.SQLException, org.springframework.dao.DataAccessResourceFailureException, org.springframework.lang.Nullable

Fatal exception thrown when we can't connect to an RDBMS using JDBC.
Authors
Rod Johnson, Juergen Hoeller

Constructor Summary

AccessConstructor and Description
public
CannotGetJdbcConnectionException(String
the detail message
msg
)

Constructor for CannotGetJdbcConnectionException.

public
CannotGetJdbcConnectionException(String
the detail message
msg
,
SQLException
the root cause SQLException
ex
)

Constructor for CannotGetJdbcConnectionException.

public
CannotGetJdbcConnectionException(String
the detail message
msg
,
IllegalStateException
the root cause IllegalStateException
ex
)

Constructor for CannotGetJdbcConnectionException.

Constructor Detail

CannotGetJdbcConnectionExceptionback to summary
public CannotGetJdbcConnectionException(String msg)

Constructor for CannotGetJdbcConnectionException.

Parameters
msg:String

the detail message

Since
5.0
CannotGetJdbcConnectionExceptionback to summary
public CannotGetJdbcConnectionException(String msg, SQLException ex)

Constructor for CannotGetJdbcConnectionException.

Parameters
msg:String

the detail message

ex:SQLException

the root cause SQLException

CannotGetJdbcConnectionExceptionback to summary
public CannotGetJdbcConnectionException(String msg, IllegalStateException ex)

Constructor for CannotGetJdbcConnectionException.

Parameters
msg:String

the detail message

ex:IllegalStateException

the root cause IllegalStateException

Since
5.3.22