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