org.jlf.dataMap
Class DirtyReadError
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.lang.RuntimeException
|
+--org.jlf.log.AppError
|
+--org.jlf.dataMap.DataMapError
|
+--org.jlf.dataMap.DirtyReadError
- All Implemented Interfaces:
- java.io.Serializable
- public class DirtyReadError
- extends DataMapError
This class is used to throw exceptions when a "dirty read" occurs, that
is, when a data mapped object has been updated out from under the
user of the object. For example, two users in two different JVMs read the
same object, then try to make updates to it. One will succeed, but the other
should fail as its information is "dirty," or old as the other user updated
it without its knowledge.
- See Also:
- Serialized Form
Method Summary |
java.lang.String |
toString()
Returns a String representing the AppError information. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DirtyReadError
public DirtyReadError(DataMappedObject dmo)
- Constructor telling the data mapped object which has dirty
information.
toString
public java.lang.String toString()
- Returns a String representing the
AppError
information.
- Overrides:
toString
in class DataMapError