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:
Serializable
Thrown when a @
Unique
constraint would be violated during a put operation.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class io.objectbox.exception.DbException
getErrorCode, toString
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
UniqueViolationException
-