PessimisticLockException(
  Object entity
)
 Constructs a new 
PessimisticLockException exception with the specified entity. - Parameters:
- entity- the entity.
- Since:
- JPA 2.0