Package io.objectbox.exception
Class UniqueViolationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- io.objectbox.exception.DbException
-
- io.objectbox.exception.ConstraintViolationException
-
- io.objectbox.exception.UniqueViolationException
-
- All Implemented Interfaces:
java.io.Serializable
public class UniqueViolationException extends ConstraintViolationException
Thrown when a @Unique
constraint would be violated during a put operation.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UniqueViolationException(java.lang.String message)
-
Method Summary
-
Methods inherited from class io.objectbox.exception.DbException
getErrorCode, toString
-
-