public abstract class

NonTransientDataAccessException

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

Class Overview

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.

See Also
  • java.sql.SQLNonTransientException

Summary

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

Public Constructors

public NonTransientDataAccessException (String msg)

Constructor for NonTransientDataAccessException.

Parameters
msg the detail message

public NonTransientDataAccessException (String msg, Throwable cause)

Constructor for NonTransientDataAccessException.

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