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 SummaryConstructorsConstructorDescriptionOptimisticLockException(String message) Default constructor.OptimisticLockException(String message, Throwable cause) Default constructor with the cause.
- 
Method SummaryMethods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- 
Constructor Details- 
OptimisticLockExceptionDefault constructor.- Parameters:
- message- The message
 
- 
OptimisticLockExceptionDefault constructor with the cause.- Parameters:
- message- The message
- cause- The cause
 
 
-