Package org.springframework.dao
Class TransientDataAccessException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.core.NestedRuntimeException
org.springframework.dao.DataAccessException
org.springframework.dao.TransientDataAccessException
- All Implemented Interfaces:
 Serializable
- Direct Known Subclasses:
 ConcurrencyFailureException,QueryTimeoutException,TransientDataAccessResourceException
Root of the hierarchy of data access exceptions that are considered transient -
 where a previously failed operation might be able to succeed when the operation
 is retried without any intervention by application-level functionality.
- Since:
 - 2.5
 - Author:
 - Thomas Risberg
 - See Also:
 
- 
Constructor Summary
ConstructorsConstructorDescriptionConstructor for TransientDataAccessException.TransientDataAccessException(String msg, Throwable cause) Constructor for TransientDataAccessException. - 
Method Summary
Methods inherited from class org.springframework.core.NestedRuntimeException
contains, getMostSpecificCause, getRootCauseMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString 
- 
Constructor Details
- 
TransientDataAccessException
Constructor for TransientDataAccessException.- Parameters:
 msg- the detail message
 - 
TransientDataAccessException
Constructor for TransientDataAccessException.- Parameters:
 msg- the detail messagecause- the root cause (usually from using an underlying data access API such as JDBC)
 
 -