Class RecoverableDataAccessException

All Implemented Interfaces:
Serializable

public class RecoverableDataAccessException extends DataAccessException
Data access exception thrown when a previously failed operation might be able to succeed if the application performs some recovery steps and retries the entire transaction or in the case of a distributed transaction, the transaction branch. At a minimum, the recovery operation must include closing the current connection and getting a new connection.
Since:
2.5
Author:
Thomas Risberg
See Also:
  • Constructor Details

    • RecoverableDataAccessException

      public RecoverableDataAccessException(String msg)
      Constructor for RecoverableDataAccessException.
      Parameters:
      msg - the detail message
    • RecoverableDataAccessException

      public RecoverableDataAccessException(String msg, Throwable cause)
      Constructor for RecoverableDataAccessException.
      Parameters:
      msg - the detail message
      cause - the root cause (usually from using an underlying data access API such as JDBC)