Exception thrown on a pessimistic locking violation.
Thrown by Spring's SQLException translation mechanism
if a corresponding database error is encountered.
Constructor for PessimisticLockingFailureException.
Parameters: msg - the detail message Parameters: cause - the root cause from the data access API in use