Package io.objectbox.exception
Class FileCorruptException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.objectbox.exception.DbException
io.objectbox.exception.FileCorruptException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
PagesCorruptException
Errors were detected in a database file, e.g. illegal values or structural inconsistencies.
It may be possible to re-open the store with BoxStoreBuilder.usePreviousCommit()
to restore
to a working state.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionFileCorruptException
(String message) FileCorruptException
(String message, int errorCode) -
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
-
FileCorruptException
-
FileCorruptException
-