Package io.micronaut.data.exceptions
Class OptimisticLockException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.micronaut.data.exceptions.DataAccessException
io.micronaut.data.exceptions.OptimisticLockException
- All Implemented Interfaces:
Serializable
Thrown when an optimistic locking conflict occurs.
- Since:
- 2.4.0
- Author:
- Denis Stepanov
- See Also:
-
Constructor Summary
ConstructorDescriptionOptimisticLockException
(String message) Default constructor.OptimisticLockException
(String message, Throwable cause) Default constructor with the 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
Default constructor.- Parameters:
message
- The message
-
OptimisticLockException
Default constructor with the cause.- Parameters:
message
- The messagecause
- The cause
-