Save This Page
Home » spring-framework-2.5.5-with-dependencies » org.springframework » dao » [javadoc | source]
org.springframework.dao
abstract public class: NonTransientDataAccessException [javadoc | source]
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:
    ObjectRetrievalFailureException, DataIntegrityViolationException, TypeMismatchDataAccessException, JdoObjectRetrievalFailureException, JdoSystemException, UncategorizedDataAccessException, DataSourceLookupFailureException, CannotGetCciConnectionException, HibernateObjectRetrievalFailureException, InvalidResultSetAccessException, HibernateSystemException, CleanupFailureDataAccessException, TopLinkQueryException, IncorrectUpdateSemanticsDataAccessException, SqlXmlFeatureNotImplementedException, IncorrectResultSizeDataAccessException, LobRetrievalFailureException, UncategorizedSQLException, PermissionDeniedDataAccessException, IncorrectResultSetColumnCountException, NonTransientDataAccessResourceException, HibernateQueryException, HibernateSystemException, OjbOperationException, BadSqlGrammarException, HibernateJdbcException, JpaSystemException, HibernateJdbcException, InvalidDataAccessResourceUsageException, DataRetrievalFailureException, CciOperationNotSupportedException, CannotGetJdbcConnectionException, RecordTypeNotSupportedException, TopLinkJdbcException, JpaObjectRetrievalFailureException, JdoResourceFailureException, HibernateObjectRetrievalFailureException, InvalidDataAccessApiUsageException, TopLinkSystemException, CannotCreateRecordException, InvalidResultSetAccessException, JdoUsageException, JdbcUpdateAffectedIncorrectNumberOfRowsException, EmptyResultDataAccessException, SQLWarningException, DataAccessResourceFailureException, HibernateQueryException

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.
Constructor:
 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)
Methods from org.springframework.core.NestedRuntimeException:
contains,   getMessage,   getMostSpecificCause,   getRootCause
Methods from java.lang.Throwable:
fillInStackTrace,   getCause,   getLocalizedMessage,   getMessage,   getStackTrace,   initCause,   printStackTrace,   printStackTrace,   printStackTrace,   setStackTrace,   toString
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait