org.jaffa.exceptions
Class DomainObjectChangedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.jaffa.exceptions.CustomException
org.jaffa.exceptions.ApplicationException
org.jaffa.exceptions.DomainObjectChangedException
- All Implemented Interfaces:
- Serializable
- public class DomainObjectChangedException
- extends ApplicationException
This ApplicationException can be thrown by an application if a domain object being updated/deleted, has been modified by another user.
- See Also:
- Serialized Form
DomainObjectChangedException
public DomainObjectChangedException(String userId,
String timestamp)
- Constructs a new DomainObjectChangedException.
- Parameters:
userId - the user who last modified the record.timestamp - the time at which the record was last modified.
DomainObjectChangedException
public DomainObjectChangedException(String userId,
String timestamp,
Throwable cause)
- Constructs a new DomainObjectChangedException.
- Parameters:
userId - the user who last modified the record.timestamp - the time at which the record was last modified.cause - the cause (which is saved for later retrieval by the Throwable.getCause() method). A null value is permitted, and indicates that the cause is nonexistent or unknown.
Copyright © 2002-2004 JAFFA Project.