Package io.objectbox.exception
Various exceptions thrown by ObjectBox.
-
Interface Summary Interface Description DbExceptionListener Listener for exceptions occurring during database operations. -
Exception Summary Exception Description ConstraintViolationException Base class for exceptions thrown when a constraint would be violated during a put operation.DbDetachedException DbException General exception for things that may go wrong with the database.DbFullException DbMaxReadersExceededException Thrown when the maximum of readers (read transactions) was exceeded.DbSchemaException DbShutdownException Thrown when an error occurred that requires the DB to shutdown.FileCorruptException Errors were detected in a file, e.g.NonUniqueResultException Throw ifQuery.findUnique()
returns more than one result.NumericOverflowException Thrown if a property query aggregate function can not compute a result due to a number type overflowing.PagesCorruptException Errors were detected in a file related to pages, e.g.UniqueViolationException Thrown when a @Unique
constraint would be violated during a put operation.