public class

RecoverableDataAccessException

extends DataAccessException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ org.springframework.core.NestedRuntimeException
           ↳ org.springframework.dao.DataAccessException
             ↳ org.springframework.dao.RecoverableDataAccessException

Class Overview

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.

See Also
  • java.sql.SQLRecoverableException

Summary

Public Constructors
RecoverableDataAccessException(String msg)
Constructor for RecoverableDataAccessException.
RecoverableDataAccessException(String msg, Throwable cause)
Constructor for RecoverableDataAccessException.
[Expand]
Inherited Methods
From class org.springframework.core.NestedRuntimeException
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public RecoverableDataAccessException (String msg)

Constructor for RecoverableDataAccessException.

Parameters
msg the detail message

public RecoverableDataAccessException (String msg, Throwable cause)

Constructor for RecoverableDataAccessException.

Parameters
msg the detail message
cause the root cause (usually from using a underlying data access API such as JDBC)