org.springframework.jdbc
Class CannotGetJdbcConnectionException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byorg.springframework.core.NestedRuntimeException
                  extended byorg.springframework.dao.DataAccessException
                      extended byorg.springframework.dao.DataAccessResourceFailureException
                          extended byorg.springframework.jdbc.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
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.lang.RuntimeException
 
Constructor Summary
CannotGetJdbcConnectionException(String msg, ClassNotFoundException ex)
          Constructor for CannotGetJdbcConnectionException.
CannotGetJdbcConnectionException(String msg, NamingException ex)
          Constructor for CannotGetJdbcConnectionException.
CannotGetJdbcConnectionException(String msg, SQLException ex)
          Constructor for CannotGetJdbcConnectionException.
 
Methods inherited from class org.springframework.core.NestedRuntimeException
contains, getCause, getMessage, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CannotGetJdbcConnectionException

public CannotGetJdbcConnectionException(String msg,
                                        SQLException ex)
Constructor for CannotGetJdbcConnectionException.

Parameters:
msg - message
ex - SQLException root cause

CannotGetJdbcConnectionException

public CannotGetJdbcConnectionException(String msg,
                                        ClassNotFoundException ex)
Constructor for CannotGetJdbcConnectionException.

Parameters:
msg - message
ex - ClassNotFoundException root cause

CannotGetJdbcConnectionException

public CannotGetJdbcConnectionException(String msg,
                                        NamingException ex)
Constructor for CannotGetJdbcConnectionException.

Parameters:
msg - message
ex - NamingException root cause


Copyright (C) 2003-2004 The Spring Framework Project.