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

Class OCCException

  1. java.lang.Object
  2. extended byjava.lang.Throwable
  3. extended byjava.lang.Exception
  4. extended bycom.ibm.websphere.sdo.mediator.exception.MediatorException
  5. extended bycom.ibm.websphere.sdo.mediator.jdbc.exception.JDBCMediatorException
  6. extended bycom.ibm.websphere.sdo.mediator.jdbc.exception.DBException
  7. extended bycom.ibm.websphere.sdo.mediator.jdbc.exception.OCCException
All implemented interfaces:
java.io.Serializable

  1. public class OCCException
  2. extends DBException
An Exception caused by an optimistic concurrency control violation
See Also:
Serialized Form

Constructor Summary

Constructor and Description
OCCException()
Constructor for OCCException.
OCCException(commonj.sdo.DataObject originalDO,commonj.sdo.DataObject changedDO,commonj.sdo.DataObject databaseDO)

Method Summary

Modifier and Type Method and Description
  1. commonj.sdo.DataObject
getChangedDO()
  1. commonj.sdo.DataObject
getDatabaseDO()
  1. commonj.sdo.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

  1. public OCCException()
Constructor for OCCException.

OCCException

  1. public OCCException(commonj.sdo.DataObject originalDO,
  2. commonj.sdo.DataObject changedDO,
  3. commonj.sdo.DataObject databaseDO)
Parameters:
changedDO -

Method Detail

getChangedDO

  1. public commonj.sdo.DataObject getChangedDO( )
Returns:
Returns the currentDO.

getDatabaseDO

  1. public commonj.sdo.DataObject getDatabaseDO( )
Returns:
Returns the databaseDO.

getOriginalDO

  1. public commonj.sdo.DataObject getOriginalDO( )
Returns:
Returns the originalDO.