Java org.springframework.orm ObjectOptimisticLockingFailureException fields, constructors, methods, implement or subclass

Example usage for Java org.springframework.orm ObjectOptimisticLockingFailureException fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.springframework.orm ObjectOptimisticLockingFailureException.

The text is from its open source code.

Constructor

ObjectOptimisticLockingFailureException(Class persistentClass, Object identifier, @Nullable Throwable cause)
Create a new ObjectOptimisticLockingFailureException for the given object, with the default "optimistic locking failed" message.
ObjectOptimisticLockingFailureException(String persistentClassName, Object identifier, @Nullable Throwable cause)
Create a new ObjectOptimisticLockingFailureException for the given object, with the default "optimistic locking failed" message.

Method

ObjectgetIdentifier()
Return the identifier of the object for which the locking failed.
StringgetMessage()
Return the detail message, including the message from the nested exception if there is one.