com.interface21.jdbc.datasource
Class CannotCloseJdbcConnectionException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--com.interface21.core.NestedRuntimeException
                          |
                          +--com.interface21.dao.DataAccessException
                                |
                                +--com.interface21.dao.CleanupFailureDataAccessException
                                      |
                                      +--com.interface21.jdbc.datasource.CannotCloseJdbcConnectionException
All Implemented Interfaces:
HasRootCause, 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 s, java.lang.Throwable ex)
          Constructor for CannotCloseJdbcConnectionException.
 
Methods inherited from class com.interface21.core.NestedRuntimeException
getMessage, getRootCause, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, printStackTrace, 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 s,
                                          java.lang.Throwable ex)
Constructor for CannotCloseJdbcConnectionException.
Parameters:
s - message
ex - root cause


Rod Johnson and Spring contributors 2001-2003.