mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-04-19 14:34:33 +02:00
Replaced assertions with exceptions in database code, and changed
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.
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
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;
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user