UniqueFieldValueConstraintViolationException Class

Summary

This exception is thrown when a Db4objects.Db4o.Constraints.UniqueFieldValueConstraint is violated.

graph BT Type-->Base0["ConstraintViolationException"] click Base0 "/db4o-gpl-doc/output/api/Db4objects.Db4o.Constraints/ConstraintViolationException" Base0-->Base1["Db4oRecoverableException"] click Base1 "/db4o-gpl-doc/output/api/Db4objects.Db4o.Ext/Db4oRecoverableException" Base1-->Base2["Db4oException"] click Base2 "/db4o-gpl-doc/output/api/Db4objects.Db4o.Ext/Db4oException" Base2-->Base3["Exception"] Type["UniqueFieldValueConstraintViolationException"] class Type type-node

Syntax

[System.Serializable]
public class UniqueFieldValueConstraintViolationException : ConstraintViolationException

Attributes

Type Description
SerializableAttribute

Constructors

Name Summary
UniqueFieldValueConstraintViolationException(string, string) Constructor with a message composed from the class and field name of the entity causing the exception.

See Also

  • Db4objects.Db4o.Config.IObjectField.Indexed(System.Boolean)
  • Db4objects.Db4o.Config.ICommonConfiguration.Add(Db4objects.Db4o.Config.IConfigurationItem)