com.ibm.websphere.sdo.mediator.jdbc.exception
Class OCCException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.ibm.websphere.sdo.mediator.exception.MediatorException
com.ibm.websphere.sdo.mediator.jdbc.exception.JDBCMediatorException
com.ibm.websphere.sdo.mediator.jdbc.exception.DBException
com.ibm.websphere.sdo.mediator.jdbc.exception.OCCException
- All Implemented Interfaces:
- java.io.Serializable
public class OCCException
- extends DBException
An Exception caused by an optimistic concurrency control violation
- See Also:
- Serialized Form
Constructor Summary |
OCCException()
Constructor for OCCException. |
OCCException(commonj.sdo.DataObject originalDO,
commonj.sdo.DataObject changedDO,
commonj.sdo.DataObject databaseDO)
|
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 |
OCCException
public OCCException()
- Constructor for OCCException.
OCCException
public OCCException(commonj.sdo.DataObject originalDO,
commonj.sdo.DataObject changedDO,
commonj.sdo.DataObject databaseDO)
- Parameters:
changedDO
- original
- databaseDO2
-
getChangedDO
public commonj.sdo.DataObject getChangedDO()
- Returns:
- Returns the currentDO.
getDatabaseDO
public commonj.sdo.DataObject getDatabaseDO()
- Returns:
- Returns the databaseDO.
getOriginalDO
public commonj.sdo.DataObject getOriginalDO()
- Returns:
- Returns the originalDO.