The Spring Framework

## Uses of Class
org.springframework.dao.NonTransientDataAccessException

Packages that use NonTransientDataAccessException
org.springframework.dao: Exception hierarchy enabling sophisticated error handling independent of the data access approach in use.
org.springframework.jca.cci: This package contains Spring's support for the Common Client Interface (CCI), as defined by the J2EE Connector Architecture.
org.springframework.jdbc: The classes in this package make JDBC easier to use and reduce the likelihood of common errors.
org.springframework.jdbc.datasource.lookup: Provides a strategy for looking up JDBC DataSources by name.
org.springframework.jdbc.support.xml: Abstraction for handling fields of SQLXML data type.
org.springframework.orm: Root package for Spring's O/R Mapping integration classes.
org.springframework.orm.hibernate3: Package providing integration of Hibernate3 with Spring concepts.
org.springframework.orm.jdo: Package providing integration of JDO (Java Date Objects) with Spring concepts.
org.springframework.orm.jpa: Package providing integration of JPA (Java Persistence API) with Spring concepts.
org.springframework.orm.toplink: Package providing integration of Oracle TopLink with Spring concepts.

Uses of NonTransientDataAccessException in org.springframework.dao

Subclasses of NonTransientDataAccessException in org.springframework.dao
`class` `CleanupFailureDataAccessException` Exception thrown when we couldn't cleanup after a data access operation, but the actual operation went OK.
`class` `DataAccessResourceFailureException` Data access exception thrown when a resource fails completely: for example, if we can't connect to a database using JDBC.
`class` `DataIntegrityViolationException` Exception thrown when an attempt to insert or update data results in violation of an integrity constraint.
`class` `DataRetrievalFailureException` Exception thrown if certain expected data could not be retrieved, e.g.
`class` `EmptyResultDataAccessException` Data access exception thrown when a result was expected to have at least one row (or element) but zero rows (or elements) were actually returned.
`class` `IncorrectResultSizeDataAccessException` Data access exception thrown when a result was not of the expected size, for example when expecting a single row but getting 0 or more than 1 rows.
`class` `IncorrectUpdateSemanticsDataAccessException` Data access exception thrown when something unintended appears to have happened with an update, but the transaction hasn't already been rolled back.
`class` `InvalidDataAccessApiUsageException` Exception thrown on incorrect usage of the API, such as failing to "compile" a query object that needed compilation before execution.
`class` `InvalidDataAccessResourceUsageException` Root for exceptions thrown when we use a data access resource incorrectly.
`class` `NonTransientDataAccessResourceException` Data access exception thrown when a resource fails completely and the failure is permanent.
`class` `PermissionDeniedDataAccessException` Exception thrown when the underlying resource denied a permission to access a specific element, such as a specific database table.
`class` `TypeMismatchDataAccessException` Exception thrown on mismatch between Java type and database type: for example on an attempt to set an object of the wrong type in an RDBMS column.
`class` `UncategorizedDataAccessException` Normal superclass when we can't distinguish anything more specific than "something went wrong with the underlying resource": for example, a SQLException from JDBC we can't pinpoint more precisely.

Uses of NonTransientDataAccessException in org.springframework.jca.cci

Subclasses of NonTransientDataAccessException in org.springframework.jca.cci
`class` `CannotCreateRecordException` Exception thrown when the creating of a CCI Record failed for connector-internal reasons.
`class` `CannotGetCciConnectionException` Fatal exception thrown when we can't connect to an EIS using CCI.
`class` `CciOperationNotSupportedException` Exception thrown when the connector doesn't support a specific CCI operation.
`class` `InvalidResultSetAccessException` Exception thrown when a ResultSet has been accessed in an invalid fashion.
`class` `RecordTypeNotSupportedException` Exception thrown when the creating of a CCI Record failed because the connector doesn't support the desired CCI Record type.

Uses of NonTransientDataAccessException in org.springframework.jdbc

Subclasses of NonTransientDataAccessException in org.springframework.jdbc
`class` `BadSqlGrammarException` Exception thrown when SQL specified is invalid.
`class` `CannotGetJdbcConnectionException` Fatal exception thrown when we can't connect to an RDBMS using JDBC.
`class` `IncorrectResultSetColumnCountException` Data access exception thrown when a result set did not have the correct column count, for example when expecting a single column but getting 0 or more than 1 columns.
`class` `JdbcUpdateAffectedIncorrectNumberOfRowsException` Exception thrown when a JDBC update affects an unexpected number of rows.
`class` `LobRetrievalFailureException` Exception to be thrown when a LOB could not be retrieved.
`class` `SQLWarningException` Exception thrown when we're not ignoring `SQLWarnings`.
`class` `UncategorizedSQLException` Exception thrown when we can't classify a SQLException into one of our generic data access exceptions.

Uses of NonTransientDataAccessException in org.springframework.jdbc.datasource.lookup

Subclasses of NonTransientDataAccessException in org.springframework.jdbc.datasource.lookup
`class` `DataSourceLookupFailureException` Exception to be thrown by a DataSourceLookup implementation, indicating that the specified DataSource could not be obtained.

Uses of NonTransientDataAccessException in org.springframework.jdbc.support.xml

Subclasses of NonTransientDataAccessException in org.springframework.jdbc.support.xml
`class` `SqlXmlFeatureNotImplementedException` Exception thrown when the underlying implementation does not support the requested feature of the API.

Uses of NonTransientDataAccessException in org.springframework.orm

Subclasses of NonTransientDataAccessException in org.springframework.orm
`class` `ObjectRetrievalFailureException` Exception thrown if a mapped object could not be retrieved via its identifier.

Uses of NonTransientDataAccessException in org.springframework.orm.hibernate3

Subclasses of NonTransientDataAccessException in org.springframework.orm.hibernate3
`class` `HibernateJdbcException` Hibernate-specific subclass of UncategorizedDataAccessException, for JDBC exceptions that Hibernate wrapped.
`class` `HibernateObjectRetrievalFailureException` Hibernate-specific subclass of ObjectRetrievalFailureException.
`class` `HibernateQueryException` Hibernate-specific subclass of InvalidDataAccessResourceUsageException, thrown on invalid HQL query syntax.
`class` `HibernateSystemException` Hibernate-specific subclass of UncategorizedDataAccessException, for Hibernate system errors that do not match any concrete `org.springframework.dao` exceptions.

Uses of NonTransientDataAccessException in org.springframework.orm.jdo

Subclasses of NonTransientDataAccessException in org.springframework.orm.jdo
`class` `JdoObjectRetrievalFailureException` JDO-specific subclass of ObjectRetrievalFailureException.
`class` `JdoResourceFailureException` JDO-specific subclass of DataAccessResourceFailureException.
`class` `JdoSystemException` JDO-specific subclass of UncategorizedDataAccessException, for JDO system errors that do not match any concrete `org.springframework.dao` exceptions.
`class` `JdoUsageException` JDO-specific subclass of InvalidDataAccessApiUsageException.

Uses of NonTransientDataAccessException in org.springframework.orm.jpa

Subclasses of NonTransientDataAccessException in org.springframework.orm.jpa
`class` `JpaObjectRetrievalFailureException` JPA-specific subclass of ObjectRetrievalFailureException.
`class` `JpaSystemException` JPA-specific subclass of UncategorizedDataAccessException, for JPA system errors that do not match any concrete `org.springframework.dao` exceptions.

Uses of NonTransientDataAccessException in org.springframework.orm.toplink

Subclasses of NonTransientDataAccessException in org.springframework.orm.toplink
`class` `TopLinkJdbcException` TopLink-specific subclass of DataAccessException, for JDBC exceptions that TopLink rethrew.
`class` `TopLinkQueryException` TopLink-specific subclass of InvalidDataAccessResourceUsageException, thrown on invalid TopLink query syntax or behavior.
`class` `TopLinkSystemException` TopLink-specific subclass of UncategorizedDataAccessException, for TopLink system errors that do not match any concrete `org.springframework.dao` exceptions.

The Spring Framework

Copyright © 2002-2008 The Spring Framework.