java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.helidon.data.DataException
io.helidon.data.EntityExistsException
- All Implemented Interfaces:
Serializable
Thrown when persistence entity being inserted already exists.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionEntityExistsException
(String message) Creates a newEntityExistsException
with the supplied detail message.EntityExistsException
(String message, Throwable cause) Creates a newEntityExistsException
with 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
-
EntityExistsException
Creates a newEntityExistsException
with the supplied detail message.- Parameters:
message
- descriptive message, shall not benull
- Throws:
NullPointerException
- whenmessage
isnull
-
EntityExistsException
Creates a newEntityExistsException
with the supplied detail message and cause.- Parameters:
message
- descriptive message, shall not benull
cause
- original throwable causing this exception, shall not benull
- Throws:
NullPointerException
- whenmessage
orcause
isnull
-