Class COM.odi.coll.DuplicateEntryException
java.lang.Object
|
+----java.lang.Throwable
|
+----java.lang.Exception
|
+----java.lang.RuntimeException
|
+----COM.odi.ObjectStoreException
|
+----COM.odi.coll.CollectionException
|
+----COM.odi.coll.DuplicateEntryException
- public class DuplicateEntryException
- extends CollectionException
DuplicateEntryException is thrown when there is an attempt to insert an
entry into a collection with SIGNAL_DUPLICATES behavior, and making this
entry would result in a duplicate entry.
An application can call
Collection.contains()
to determine whether or not a specified object is in the collection.
This exception is not thrown when the collection has
ALLOW_DUPLICATES behavior.
Copyright © 1996, 1997, 1998 Object Design, Inc. All rights reserved.