public class OptimisticLockException
extends javax.persistence.OptimisticLockException
Constructor | Description |
---|---|
OptimisticLockException(java.lang.Object entity,
java.lang.Object entityView) |
Constructs a new
OptimisticLockException with given entity and entity view objects. |
Modifier and Type | Method | Description |
---|---|---|
java.lang.Object |
getEntityView() |
Returns the entity view object that caused this exception.
|
public OptimisticLockException(java.lang.Object entity, java.lang.Object entityView)
OptimisticLockException
with given entity and entity view objects.entity
- The entity that caused the exceptionentityView
- The entity view that caused the exceptionCopyright © 2014–2018 Blazebit. All rights reserved.