net.sf.jzeno.exception
Class OptimisticLockException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
net.sf.jzeno.exception.ManagedRuntimeException
net.sf.jzeno.exception.OptimisticLockException
- All Implemented Interfaces:
- java.io.Serializable, NonFatalException
public class OptimisticLockException
- extends ManagedRuntimeException
- implements NonFatalException
This Exception gets thrown by Business Facade operations when that operation
detects that the requested modifications to the database are impossible
because the information the User Interface is supplying is stale at this
point. This is the case when some other user changed the relevant data after
the current user retrieved it from the database. A typical reaction by the UI
code is to inform the user that his modifications could not be performed and
ask him to re-apply his changes.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
OptimisticLockException
public OptimisticLockException()
OptimisticLockException
public OptimisticLockException(java.lang.Throwable cause)
OptimisticLockException
public OptimisticLockException(java.lang.String message,
java.lang.Throwable cause)
OptimisticLockException
public OptimisticLockException(java.lang.String message)