net.sourceforge.pbeans
Class DuplicateEntryException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by net.sourceforge.pbeans.StoreException
              extended by net.sourceforge.pbeans.DuplicateEntryException
All Implemented Interfaces:
java.io.Serializable

public class DuplicateEntryException
extends StoreException

Thrown when a database record cannot be inserted because there's already an entry with equal unique-index values or primary keys.

See Also:
Store.insert(java.lang.Object), Store.register(java.lang.Object), Index, Serialized Form

Constructor Summary
DuplicateEntryException(java.lang.Exception innerException)
           
DuplicateEntryException(java.lang.String message)
           
DuplicateEntryException(java.lang.String message, java.lang.Exception innerException)
           
 
Method Summary
 
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
 

Constructor Detail

DuplicateEntryException

public DuplicateEntryException(java.lang.String message)

DuplicateEntryException

public DuplicateEntryException(java.lang.Exception innerException)

DuplicateEntryException

public DuplicateEntryException(java.lang.String message,
                               java.lang.Exception innerException)