DuplicateKeyException(String domainObject, Throwable cause) Constructs a new DuplicateKeyException.
Parameters: domainObject - the domain object which has a duplicate key. Parameters: cause - the cause (which is saved for later retrieval by the Throwable.getCause() method).
Constructor Detail
DuplicateKeyException
public DuplicateKeyException(String domainObject)(Code)
Constructs a new DuplicateKeyException.
Parameters: domainObject - the domain object which has a duplicate key.
Constructs a new DuplicateKeyException.
Parameters: domainObject - the domain object which has a duplicate key. Parameters: 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.
Fields inherited from org.jaffa.exceptions.CustomException