Package simpleorm.dataset
Class SRecordInstance.BrokenOptimisticLockException
- java.lang.Object
- 
- java.lang.Throwable
- 
- java.lang.Exception
- 
- java.lang.RuntimeException
- 
- simpleorm.utils.SException
- 
- simpleorm.dataset.SRecordInstance.BrokenOptimisticLockException
 
 
 
 
 
- 
- All Implemented Interfaces:
- java.io.Serializable
 - Enclosing class:
- SRecordInstance
 
 public static class SRecordInstance.BrokenOptimisticLockException extends SException Exception thrown due to broken optimistic locks. This one may be worth trapping by the application so gets its own class.- See Also:
- Serialized Form
 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from class simpleorm.utils.SExceptionSException.Data, SException.Error, SException.InternalError, SException.Jdbc, SException.Test, SException.Validation
 
- 
 - 
Constructor SummaryConstructors Constructor Description BrokenOptimisticLockException(SRecordInstance instance)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description SRecordInstancegetRecordInstance()The record that had the broken optimistic lock.- 
Methods inherited from class simpleorm.utils.SExceptiongetFieldMeta, getFieldValue, getInstance, getParams, getValidator, setFieldMeta, setFieldValue, setInstance, setParams, setRecordInstance, setValidator
 
- 
 
- 
- 
- 
Constructor Detail- 
BrokenOptimisticLockExceptionpublic BrokenOptimisticLockException(SRecordInstance instance) 
 
- 
 - 
Method Detail- 
getRecordInstancepublic SRecordInstance getRecordInstance() The record that had the broken optimistic lock.- Overrides:
- getRecordInstancein class- SException
 
 
- 
 
-