01: /*
02: * User: Michael Rettig
03: * Date: Aug 13, 2002
04: * Time: 3:55:52 PM
05: */
06: package net.sourceforge.jaxor;
07:
08: import net.sourceforge.jaxor.api.EntityInterface;
09: import net.sourceforge.jaxor.util.SystemException;
10:
11: public class ConcurrencyException extends SystemException {
12:
13: private final EntityInterface _entity;
14:
15: public ConcurrencyException(String s, EntityInterface entity) {
16: super (s);
17: _entity = entity;
18: }
19:
20: public EntityInterface getEntity() {
21: return _entity;
22: }
23: }
|