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