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.SException
SException.Data, SException.Error, SException.InternalError, SException.Jdbc, SException.Test, SException.Validation
-
-
Constructor Summary
Constructors Constructor Description BrokenOptimisticLockException(SRecordInstance instance)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SRecordInstance
getRecordInstance()
The record that had the broken optimistic lock.-
Methods inherited from class simpleorm.utils.SException
getFieldMeta, getFieldValue, getInstance, getParams, getValidator, setFieldMeta, setFieldValue, setInstance, setParams, setRecordInstance, setValidator
-
-
-
-
Constructor Detail
-
BrokenOptimisticLockException
public BrokenOptimisticLockException(SRecordInstance instance)
-
-
Method Detail
-
getRecordInstance
public SRecordInstance getRecordInstance()
The record that had the broken optimistic lock.- Overrides:
getRecordInstance
in classSException
-
-