org.figure8.join.core
Class DuplicateEntityException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.figure8.join.core.DuplicateEntityException
- All Implemented Interfaces:
- java.io.Serializable
public class DuplicateEntityException
- extends java.lang.Exception
Extension of Exception thrown during a save or update operation on an
EntityObject
when a same or analogous entity already exists.
- Version:
- $Revision: 1.2 $
- Author:
- Laurent Broudoux
- See Also:
- Serialized Form
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 |
DuplicateEntityException
public DuplicateEntityException(java.lang.String msg,
EntityObject original)
- Creates a new instance of DuplicateEntityException.
- Parameters:
msg
- Message for this exceptionoriginal
- Orignal entity that has cause duplication to occur
DuplicateEntityException
public DuplicateEntityException(java.lang.Throwable cause,
EntityObject original)
- Creates a new instance of DuplicateEntityException.
- Parameters:
cause
- Root throwable for this exceptionoriginal
- Orignal entity that has cause duplication to occur
DuplicateEntityException
public DuplicateEntityException(java.lang.String msg,
java.lang.Throwable cause,
EntityObject original)
- Creates a new instance of DuplicateEntityException.
- Parameters:
msg
- Message for this exceptioncause
- Root throwable for this exceptionoriginal
- Orignal entity that has cause duplication to occur
getOriginalEntity
public EntityObject getOriginalEntity()
- Returns:
- The original EntityObject that has cause this exception to occur
Copyright © 2005-2008 Join. All Rights Reserved.