org.jaffa.exceptions
Class MultipleDomainObjectsFoundException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.jaffa.exceptions.CustomException
              extended byorg.jaffa.exceptions.ApplicationException
                  extended byorg.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

Field Summary
 
Fields inherited from class org.jaffa.exceptions.CustomException
m_arguments
 
Constructor Summary
MultipleDomainObjectsFoundException(String domainObject)
          Constructs a new MultipleDomainObjectsFoundException.
MultipleDomainObjectsFoundException(String domainObject, Throwable cause)
          Constructs a new MultipleDomainObjectsFoundException.
 
Methods inherited from class org.jaffa.exceptions.CustomException
getArguments, getLocalizedMessage, getMessage
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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.