public class ConcurrencyException
extends org.springframework.orm.ObjectOptimisticLockingFailureException
Exception that extends the ObjectOptimisticLockingFailureException including some extra information
to be able to manage concurrency in the view layer.
| Constructor and Description |
|---|
ConcurrencyException(ConcurrencyManager<T> manager,
T record,
org.springframework.ui.Model model,
org.springframework.orm.ObjectOptimisticLockingFailureException ex)
Default an unique constructor.
|
| Modifier and Type | Method and Description |
|---|---|
org.springframework.web.servlet.ModelAndView |
populateAndGetFormView() |
getIdentifier, getPersistentClass, getPersistentClassNamecontains, getMessage, getMostSpecificCause, getRootCauseaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic ConcurrencyException(ConcurrencyManager<T> manager, T record, org.springframework.ui.Model model, org.springframework.orm.ObjectOptimisticLockingFailureException ex)
ObjectOptimisticLockingFailureException that has thrown this exception to maintain all the provided
information.manager - record - model - ex - Copyright © 2018 DISID Corporation. All rights reserved.