Package io.objectbox.exception
Class NonUniqueResultException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- io.objectbox.exception.DbException
-
- io.objectbox.exception.NonUniqueResultException
-
- All Implemented Interfaces:
java.io.Serializable
public class NonUniqueResultException extends DbException
Thrown ifQuery.findUnique()
orQuery.findUniqueId()
is called, but the query matches more than one object.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NonUniqueResultException(java.lang.String message)
-
Method Summary
-
Methods inherited from class io.objectbox.exception.DbException
getErrorCode, toString
-
-