net.sf.oness.common.model.exceptions
Class ExistingInstanceException
java.lang.Object
java.lang.Throwable
java.lang.Exception
net.sf.oness.common.model.exceptions.ModelException
net.sf.oness.common.model.exceptions.ExistingInstanceException
- All Implemented Interfaces:
- java.io.Serializable
- public class ExistingInstanceException
- extends ModelException
Exception thrown when trying to create an object similar to others
that already exist
- Version:
- $Revision: 1.3 $
- Author:
- Carlos Sanchez
- See Also:
- Serialized Form
Constructor Summary |
ExistingInstanceException(java.lang.Object object,
java.lang.String className,
java.util.Collection existingInstances)
|
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ExistingInstanceException
public ExistingInstanceException(java.lang.Object object,
java.lang.String className,
java.util.Collection existingInstances)
- Parameters:
object
- className
- name of the object classexistingInstances
-
getObject
public java.lang.Object getObject()
getClassName
public java.lang.String getClassName()
getExistingInstances
public java.util.Collection getExistingInstances()
Copyright © 2003-2005 ONess Project. All Rights Reserved.