java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.helidon.data.DataException
io.helidon.data.NonUniqueResultException
- All Implemented Interfaces:
Serializable
Thrown when a query was expected to produce exactly one record but produced many instead.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionNonUniqueResultException(String message) Creates a newNonUniqueResultExceptionwith the supplied detail message.NonUniqueResultException(String message, Throwable cause) Creates a newNonUniqueResultExceptionwith the supplied detail message and 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
-
NonUniqueResultException
Creates a newNonUniqueResultExceptionwith the supplied detail message.- Parameters:
message- descriptive message, shall not benull- Throws:
NullPointerException- whenmessageisnull
-
NonUniqueResultException
Creates a newNonUniqueResultExceptionwith the supplied detail message and cause.- Parameters:
message- descriptive message, shall not benullcause- original throwable causing this exception, shall not benull- Throws:
NullPointerException- whenmessageorcauseisnull
-