Package com.db4o.constraints
Class UniqueFieldValueConstraintViolationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.db4o.foundation.ChainedRuntimeException
-
- com.db4o.ext.Db4oException
-
- com.db4o.ext.Db4oRecoverableException
-
- com.db4o.constraints.ConstraintViolationException
-
- com.db4o.constraints.UniqueFieldValueConstraintViolationException
-
- All Implemented Interfaces:
java.io.Serializable
public class UniqueFieldValueConstraintViolationException extends ConstraintViolationException
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.db4o.foundation.ChainedRuntimeException
ChainedRuntimeException.ChainedRuntimeExceptionMixin
-
-
Constructor Summary
Constructors Constructor Description UniqueFieldValueConstraintViolationException(java.lang.String className, java.lang.String fieldName)
Constructor with a message composed from the class and field name of the entity causing the exception.
-
-
-
Constructor Detail
-
UniqueFieldValueConstraintViolationException
public UniqueFieldValueConstraintViolationException(java.lang.String className, java.lang.String fieldName)
Constructor with a message composed from the class and field name of the entity causing the exception.- Parameters:
className
- class, which caused the exceptionfieldName
- field, which caused the exception
-
-