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:
java.io.Serializable
- Direct Known Subclasses:
PagesCorruptException
public class FileCorruptException extends DbException
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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FileCorruptException(java.lang.String message)
FileCorruptException(java.lang.String message, int errorCode)
-
Method Summary
-
Methods inherited from class io.objectbox.exception.DbException
getErrorCode, toString
-
-