org.jaffa.exceptions
Class DuplicateKeyException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.jaffa.exceptions.CustomException
org.jaffa.exceptions.ApplicationException
org.jaffa.exceptions.DuplicateKeyException
- All Implemented Interfaces:
- Serializable
- public class DuplicateKeyException
- extends ApplicationException
This ApplicationException can be thrown by an application if a domain object being persisted, has a duplicate key.
- See Also:
- Serialized Form
DuplicateKeyException
public DuplicateKeyException(String domainObject)
- Constructs a new DuplicateKeyException.
- Parameters:
domainObject - the domain object which has a duplicate key.
DuplicateKeyException
public DuplicateKeyException(String domainObject,
Throwable cause)
- Constructs a new DuplicateKeyException.
- Parameters:
domainObject - the domain object which has a duplicate key.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.