GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — added DbShutdownException · restmad/objectbox-java@bd2cee8

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • objectbox-java/src/main/java/io/objectbox/exception
    • DbShutdownException.java
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎objectbox-java/src/main/java/io/objectbox/exception/DbShutdownException.java‎

Copy file name to clipboard
+18Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.