mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-17 05:09:53 +01:00
exception handling so that database connections aren't closed with transactions in progress - this should make it possible to close the database cleanly if an exception occurs.
10 lines
228 B
Java
10 lines
228 B
Java
package net.sf.briar.db;
|
|
|
|
import java.sql.SQLException;
|
|
|
|
/** Thrown when the database is in an illegal state. */
|
|
class DbStateException extends SQLException {
|
|
|
|
private static final long serialVersionUID = 10793396057218891L;
|
|
}
|