java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
jakarta.data.exceptions.DataException
jakarta.data.exceptions.EmptyResultException
- All Implemented Interfaces:
 Serializable
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.
- See Also:
 
- 
Constructor Summary
ConstructorsConstructorDescriptionEmptyResultException(String message) Constructs a new EmptyResultException exception with the specified detail message.EmptyResultException(String message, Throwable cause) Constructs a new EmptyResultException exception with the specified detail message.EmptyResultException(Throwable cause) Constructs a new EmptyResultException exception with the specified cause. - 
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString 
- 
Constructor Details
- 
EmptyResultException
Constructs a new EmptyResultException exception with the specified detail message.- Parameters:
 message- the detail message.
 - 
EmptyResultException
 - 
EmptyResultException
Constructs a new EmptyResultException exception with the specified cause.- Parameters:
 cause- the cause.
 
 -