Top Description Fields Constructors
jakarta.data.exceptions

public Class DataException

extends RuntimeException
Class Inheritance
Known Direct Subclasses
jakarta.data.exceptions.EmptyResultException, jakarta.data.exceptions.EntityExistsException, jakarta.data.exceptions.MappingException, jakarta.data.exceptions.NonUniqueResultException, jakarta.data.exceptions.OptimisticLockingFailureException, jakarta.data.exceptions.DataConnectionException

Thrown by the data provider when a problem occurs.

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
DataException(String
the detail message.
message
)

Constructs a new DataException exception with the specified detail message.

public
DataException(String
the detail message.
message
,
Throwable
the cause.
cause
)

Constructs a new DataException exception with the specified detail message and cause.

public
DataException(Throwable
the cause.
cause
)

Constructs a new DataException exception with the specified cause.

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.lang.RuntimeException.serialVersionUID.

Constructor Detail

DataExceptionback to summary
public DataException(String message)

Constructs a new DataException exception with the specified detail message.

Parameters
message:String

the detail message.

DataExceptionback to summary
public DataException(String message, Throwable cause)

Constructs a new DataException exception with the specified detail message and cause.

Parameters
message:String

the detail message.

cause:Throwable

the cause.

DataExceptionback to summary
public DataException(Throwable cause)

Constructs a new DataException exception with the specified cause.

Parameters
cause:Throwable

the cause.