public abstract class

TransientDataAccessException

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.TransientDataAccessException
Known Direct Subclasses
Known Indirect Subclasses

Class Overview

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.

See Also
  • java.sql.SQLTransientException

Summary

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

Public Constructors

public TransientDataAccessException (String msg)

Constructor for TransientDataAccessException.

Parameters
msg the detail message

public TransientDataAccessException (String msg, Throwable cause)

Constructor for TransientDataAccessException.

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