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 newEntityExistsExceptionwith the supplied detail message.EntityExistsException(String message, Throwable cause) Creates a newEntityExistsExceptionwith 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 newEntityExistsExceptionwith the supplied detail message.- Parameters:
message- descriptive message, shall not benull- Throws:
NullPointerException- whenmessageisnull
-
EntityExistsException
Creates a newEntityExistsExceptionwith the supplied detail message and cause.- Parameters:
message- descriptive message, shall not benullcause- original throwable causing this exception, shall not benull- Throws:
NullPointerException- whenmessageorcauseisnull
-