java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.helidon.data.DataException
io.helidon.data.OptimisticLockException
- All Implemented Interfaces:
Serializable
Thrown when an optimistic locking conflict occurs.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionOptimisticLockException
(String message) Creates a newOptimisticLockException
with the supplied detail message.OptimisticLockException
(String message, Throwable cause) Creates a newOptimisticLockException
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
-
OptimisticLockException
Creates a newOptimisticLockException
with the supplied detail message.- Parameters:
message
- descriptive message, shall not benull
- Throws:
NullPointerException
- whenmessage
isnull
-
OptimisticLockException
Creates a newOptimisticLockException
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
-