Top Description Constructors
org.springframework.dao

public Class RecoverableDataAccessException

extends DataAccessException
Class Inheritance
Annotations
@SuppressWarnings:serial

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.
Author
Thomas Risberg
Since
2.5
See Also
java.sql.SQLRecoverableException

Constructor Summary

AccessConstructor and Description
public
RecoverableDataAccessException(String
the detail message
msg
)

Constructor for RecoverableDataAccessException.

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

Constructor for RecoverableDataAccessException.

Constructor Detail

RecoverableDataAccessExceptionback to summary
public RecoverableDataAccessException(String msg)

Constructor for RecoverableDataAccessException.

Parameters
msg:String

the detail message

RecoverableDataAccessExceptionback to summary
public RecoverableDataAccessException(String msg, Throwable cause)

Constructor for RecoverableDataAccessException.

Parameters
msg:String

the detail message

cause:Throwable

the root cause (usually from using an underlying data access API such as JDBC)