Class OptimisticEntityLockException

All Implemented Interfaces:
Serializable

public class OptimisticEntityLockException extends LockingStrategyException
Represents an error trying to apply an optimistic LockingStrategy to an entity
See Also:
  • Constructor Details

    • OptimisticEntityLockException

      public OptimisticEntityLockException(Object entity, String message)
      Constructs a OptimisticEntityLockException
      Parameters:
      entity - The entity we were trying to lock
      message - Message explaining the condition
    • OptimisticEntityLockException

      public OptimisticEntityLockException(Object entity, String message, Throwable cause)
      Constructs a OptimisticEntityLockException
      Parameters:
      entity - The entity we were trying to lock
      message - Message explaining the condition
      cause - The underlying cause