org.jaffa.exceptions
Class MultipleDomainObjectsFoundException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.jaffa.exceptions.CustomException
org.jaffa.exceptions.ApplicationException
org.jaffa.exceptions.MultipleDomainObjectsFoundException
- All Implemented Interfaces:
- Serializable
- public class MultipleDomainObjectsFoundException
- extends ApplicationException
This ApplicationException can be thrown by an application if multiple domain object are found, instead of just one.
- See Also:
- Serialized Form
MultipleDomainObjectsFoundException
public MultipleDomainObjectsFoundException(String domainObject)
- Constructs a new MultipleDomainObjectsFoundException.
- Parameters:
domainObject - the domain object.
MultipleDomainObjectsFoundException
public MultipleDomainObjectsFoundException(String domainObject,
Throwable cause)
- Constructs a new MultipleDomainObjectsFoundException.
- Parameters:
domainObject - the domain object.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.