Package io.objectbox.exception
Class DbSchemaException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.objectbox.exception.DbException
io.objectbox.exception.DbSchemaException
- All Implemented Interfaces:
Serializable
Thrown when there is an error with the data schema (data model).
Typically, there is a conflict between the data model defined in your code (using @Entity
classes) and the data model of the existing database file.
Read the meta model docs on why this can happen and how to resolve such conflicts.
- 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
-
DbSchemaException
-