Class CannotGetJdbcConnectionException

All Implemented Interfaces:
Serializable

public class CannotGetJdbcConnectionException extends DataAccessResourceFailureException
Fatal exception thrown when we can't connect to an RDBMS using JDBC.
Author:
Rod Johnson, Juergen Hoeller
See Also:
  • Constructor Details

    • CannotGetJdbcConnectionException

      public CannotGetJdbcConnectionException(String msg)
      Constructor for CannotGetJdbcConnectionException.
      Parameters:
      msg - the detail message
      Since:
      5.0
    • CannotGetJdbcConnectionException

      public CannotGetJdbcConnectionException(String msg, @Nullable SQLException ex)
      Constructor for CannotGetJdbcConnectionException.
      Parameters:
      msg - the detail message
      ex - the root cause SQLException
    • CannotGetJdbcConnectionException

      public CannotGetJdbcConnectionException(String msg, IllegalStateException ex)
      Constructor for CannotGetJdbcConnectionException.
      Parameters:
      msg - the detail message
      ex - the root cause IllegalStateException
      Since:
      5.3.22