Class RecoverableDataAccessException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.core.NestedRuntimeException
org.springframework.dao.DataAccessException
org.springframework.dao.RecoverableDataAccessException
- All Implemented Interfaces:
 Serializable
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 Summary
ConstructorsConstructorDescriptionConstructor for RecoverableDataAccessException.RecoverableDataAccessException(String msg, Throwable cause) Constructor for RecoverableDataAccessException. - 
Method Summary
Methods inherited from class NestedRuntimeException
contains, getMostSpecificCause, getRootCauseMethods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString 
- 
Constructor Details
- 
RecoverableDataAccessException
Constructor for RecoverableDataAccessException.- Parameters:
 msg- the detail message
 - 
RecoverableDataAccessException
 
 -