IBM WebSphere Application ServerTM
Release 7

com.ibm.websphere.sdo.mediator.jdbc.exception
Class OCCException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.ibm.websphere.sdo.mediator.exception.MediatorException
              extended by com.ibm.websphere.sdo.mediator.jdbc.exception.JDBCMediatorException
                  extended by com.ibm.websphere.sdo.mediator.jdbc.exception.DBException
                      extended by 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(DataObject originalDO, DataObject changedDO, DataObject databaseDO)
           
 
Method Summary
 DataObject getChangedDO()
           
 DataObject getDatabaseDO()
           
 DataObject getOriginalDO()
           
 
Methods inherited from class com.ibm.websphere.sdo.mediator.exception.MediatorException
getOriginalException, setOriginalException
 
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
 

Constructor Detail

OCCException

public OCCException()
Constructor for OCCException.


OCCException

public OCCException(DataObject originalDO,
                    DataObject changedDO,
                    DataObject databaseDO)
Parameters:
changedDO -
original -
databaseDO2 -
Method Detail

getChangedDO

public DataObject getChangedDO()
Returns:
Returns the currentDO.

getDatabaseDO

public DataObject getDatabaseDO()
Returns:
Returns the databaseDO.

getOriginalDO

public DataObject getOriginalDO()
Returns:
Returns the originalDO.

IBM WebSphere Application ServerTM
Release 7