Class OptimisticEntityLockException

    • Constructor Summary

      Constructors 
      Constructor Description
      OptimisticEntityLockException​(java.lang.Object entity, java.lang.String message)
      Constructs a OptimisticEntityLockException
      OptimisticEntityLockException​(java.lang.Object entity, java.lang.String message, java.lang.Throwable cause)
      Constructs a OptimisticEntityLockException
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • OptimisticEntityLockException

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

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