com.is.jrf
Class ObjectHasChangedException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--com.is.jrf.DomainException
                    |
                    +--com.is.jrf.ObjectHasChangedException
All Implemented Interfaces:
java.io.Serializable

public class ObjectHasChangedException
extends DomainException

This exception is thrown during the save of an object when that object has been changed by someone else since it was last retrieved.

See Also:
Serialized Form

Constructor Summary
ObjectHasChangedException(java.lang.Object object)
           
 
Method Summary
 java.lang.Object getChangedObject()
          Get the changes that were made to the object by someone (something) else since we last retrieved it.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ObjectHasChangedException

public ObjectHasChangedException(java.lang.Object object)
Method Detail

getChangedObject

public java.lang.Object getChangedObject()
Get the changes that were made to the object by someone (something) else since we last retrieved it.
Returns:
a value of type 'Object'