@API(value=MAINTAINED) public class UninitializedRecordStoreException extends RecordCoreException
FDBRecordStore
s if they are used before they have been properly
initialized. In particular, this may be called if the user calls a method that requires information stored
within the record store's state state (e.g., which
indexes have been built or information stored in the store's header), and the user has neither used a
variant of FDBRecordStoreBase.BaseBuilder.createOrOpen(FDBRecordStoreBase.StoreExistenceCheck)
to create the
store nor called FDBRecordStore.checkVersion(FDBRecordStoreBase.UserVersionChecker, FDBRecordStoreBase.StoreExistenceCheck)
manually. If a record store is accessed without calling one of those methods, then the record store can
end up in a corrupt state.
If one encounters this error, it is generally a sign that they are doing something unsafe. To prevent
this error, the user may wish to audit the code for instances of calls to FDBRecordStore.Builder.build()
and FDBRecordStoreBase.BaseBuilder.uncheckedOpen()
, either of which may cause the user to make use of an
initialized record store.
addLogInfo, addLogInfo
exportLogInfo, getLogInfo
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString