Overview | Package | Class | Tree | Deprecated | Index | Help
| Spring Framework
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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:
  java.io.Serializable

Direct Known Subclasses:
  ConcurrencyFailureException, QueryTimeoutException, TransientDataAccessResourceException

    public abstract class TransientDataAccessException

extends DataAccessException

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:
  `SQLTransientException`, Serialized Form

Constructor Summary
`TransientDataAccessException(java.lang.String msg)` Constructor for TransientDataAccessException.
`TransientDataAccessException(java.lang.String msg, java.lang.Throwable cause)` Constructor for TransientDataAccessException.

Method Summary

Methods inherited from class org.springframework.core.NestedRuntimeException
`contains, getMessage, getMostSpecificCause, getRootCause`

Methods inherited from class java.lang.Throwable
`fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Constructor Detail

### TransientDataAccessException

    public TransientDataAccessException(java.lang.String msg)

  Constructor for TransientDataAccessException.

  Parameters:
    `msg` - the detail message

### TransientDataAccessException

    public TransientDataAccessException(java.lang.String msg,
                                        java.lang.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)

Overview | Package | Class | Tree | Deprecated | Index | Help
| Spring Framework
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD