org.springframework.jdbc
Class CannotCloseJdbcConnectionException

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.CleanupFailureDataAccessException
                          extended byorg.springframework.jdbc.CannotCloseJdbcConnectionException
All Implemented Interfaces:
java.io.Serializable

public class CannotCloseJdbcConnectionException
extends CleanupFailureDataAccessException

Exception thrown when we successfully executed a SQL statement, but then failed to close the JDBC connection. This results in a java.sql.SQLException, but application code can choose to catch the exception to avoid the transaction being rolled back.

Author:
Rod Johnson
See Also:
Serialized Form

Constructor Summary
CannotCloseJdbcConnectionException(java.lang.String msg, java.sql.SQLException ex)
          Constructor for CannotCloseJdbcConnectionException.
 
Methods inherited from class org.springframework.core.NestedRuntimeException
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

CannotCloseJdbcConnectionException

public CannotCloseJdbcConnectionException(java.lang.String msg,
                                          java.sql.SQLException ex)
Constructor for CannotCloseJdbcConnectionException.

Parameters:
msg - message
ex - SQLException root cause


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