Package org.springframework.dao
Class NonTransientDataAccessException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.core.NestedRuntimeException
org.springframework.dao.DataAccessException
org.springframework.dao.NonTransientDataAccessException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- BindMarkersFactoryResolver.NoBindMarkersFactoryException,- CleanupFailureDataAccessException,- ConnectionFactoryLookupFailureException,- DataIntegrityViolationException,- DataRetrievalFailureException,- DataSourceLookupFailureException,- InvalidDataAccessApiUsageException,- InvalidDataAccessResourceUsageException,- NonTransientDataAccessResourceException,- PermissionDeniedDataAccessException,- UncategorizedDataAccessException
Root of the hierarchy of data access exceptions that are considered non-transient -
 where a retry of the same operation would fail unless the cause of the Exception
 is corrected.
- Since:
- 2.5
- Author:
- Thomas Risberg
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionConstructor for NonTransientDataAccessException.NonTransientDataAccessException(@Nullable String msg, @Nullable Throwable cause) Constructor for NonTransientDataAccessException.
- 
Method SummaryMethods inherited from class org.springframework.core.NestedRuntimeExceptioncontains, getMostSpecificCause, getRootCauseMethods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- 
Constructor Details- 
NonTransientDataAccessExceptionConstructor for NonTransientDataAccessException.- Parameters:
- msg- the detail message
 
- 
NonTransientDataAccessExceptionConstructor for NonTransientDataAccessException.- Parameters:
- msg- the detail message
- cause- the root cause (usually from using an underlying data access API such as JDBC)
 
 
-