Example usage for Java javax.persistence OptimisticLockException fields, constructors, methods, implement or subclass
The text is from its open source code.
OptimisticLockException(String message) Constructs a new OptimisticLockException exception with the specified detail message. | |
OptimisticLockException(Throwable cause) Constructs a new OptimisticLockException exception with the specified cause. | |
OptimisticLockException(Object entity) Constructs a new OptimisticLockException exception with the specified entity. | |
OptimisticLockException(String message, Throwable cause, Object entity) Constructs a new OptimisticLockException exception with the specified detail message, cause, and entity. |
Object | getEntity() Returns the entity that caused this exception. |
String | getMessage() Returns the detail message string of this throwable. |