Package io.objectbox.exception
Class DbShutdownException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.objectbox.exception.DbException
io.objectbox.exception.DbShutdownException
- All Implemented Interfaces:
Serializable
Thrown when an error occurred that requires the store to be closed.
This may be an I/O error. Regular operations won't be possible. To handle this exit the app or try to reopen the store.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDbShutdownException
(String message) DbShutdownException
(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
-
DbShutdownException
-
DbShutdownException
-