Top Description Classes
module jakarta.data

Package jakarta.data.exceptions


Common data access exceptions.

Class Summary

Modifier and TypeClass and Description
public class
DataConnectionException

Indicates a connection-related failure that might be intermittent in nature.

public class
DataException

Thrown by the data provider when a problem occurs.

public class
EmptyResultException

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.

public class
EntityExistsException

Indicates that an entity cannot be inserted into the database because an entity with same unique identifier already exists in the database.

public class
MappingException

A mapping exception is one thrown if an issue exists at runtime or build time in the data mapping.

public class
NonUniqueResultException

This exception is raised when execution of a repository method with a singular return type finds multiple results.

public class
OptimisticLockingFailureException

Indicates a failure that is due to inconsistent state between the entity and the database.