Class OptimisticLockException

  • All Implemented Interfaces:
    java.io.Serializable

    public class OptimisticLockException
    extends DataAccessException
    Thrown when an update to data is prevented due to the data on the server being more up to date then the data being updated.
    Since:
    2.1
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      OptimisticLockException​(java.lang.String message)
      Construct an OptimisticLockException with the specified detail message.
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, 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

      • OptimisticLockException

        public OptimisticLockException​(java.lang.String message)
        Construct an OptimisticLockException with the specified detail message.
        Parameters:
        message - the detail message (which is saved for later retrieval by the AbstractRuntimeException.getMessage() method).