org.springframework.dao
Class CleanupFailureDataAccessException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--org.springframework.core.NestedRuntimeException
                          |
                          +--org.springframework.dao.DataAccessException
                                |
                                +--org.springframework.dao.CleanupFailureDataAccessException
Direct Known Subclasses:
CannotCloseJdbcConnectionException

public class CleanupFailureDataAccessException
extends DataAccessException

Exception thrown when we couldn't cleanup after a data access operation, but the actual operation went OK. For example, this exception or a subclass might be thrown if a JDBC Connection couldn't be closed after it had been used successfully.

Author:
Rod Johnson

Constructor Summary
CleanupFailureDataAccessException(String msg, Throwable ex)
          Constructor for CleanupFailureDataAccessException.

Methods inherited from class org.springframework.core.NestedRuntimeException
getCause, getMessage, printStackTrace, printStackTrace

Methods inherited from class java.lang.Throwable
printStackTrace, getStackTrace, setStackTrace, getLocalizedMessage, toString, fillInStackTrace, initCause

Methods inherited from class java.lang.Object
hashCode, notify, notifyAll, wait, wait, wait, getClass, equals

Constructor Detail

CleanupFailureDataAccessException

public CleanupFailureDataAccessException(String msg, Throwable ex)
Constructor for CleanupFailureDataAccessException.
Parameters:
msg - Message
ex - Root cause from the underlying data access API, such as JDBC