We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 841b1f7 commit bd2cee8Copy full SHA for bd2cee8
objectbox-java/src/main/java/io/objectbox/exception/DbShutdownException.java
@@ -0,0 +1,18 @@
1
+package io.objectbox.exception;
2
+
3
+/**
4
+ * Thrown when an error occurred that requires the DB to shutdown.
5
+ * This may be an I/O error for example.
6
+ * Regular operations won't be possible anymore.
7
+ * To handle that situation you could exit the app or try to reopen the store.
8
+ */
9
+public class DbShutdownException extends DbException {
10
+ public DbShutdownException(String message) {
11
+ super(message);
12
+ }
13
14
+ public DbShutdownException(String message, int errorCode) {
15
+ super(message, errorCode);
16
17
18
+}
0 commit comments