src/main/java/com/aoindustries/dbc/Database.java
public <E extends Exception> void executeTransaction(
		Class<E> eClass,
		final DatabaseRunnableE<E> runnable
	) throws SQLException, E {
		executeTransaction(
			eClass,
			new DatabaseCallableE<Void,E>() {
				@Override
				public Void call(DatabaseConnection db) throws SQLException, E {
					runnable.run(db);
					return null;
				}
			}
		);
	}
public <E extends Exception> void executeTransaction(
		Class<E> eClass,
		final DatabaseRunnableE<E> runnable
	) throws SQLException, E {
		executeTransaction(
			eClass,
			new DatabaseCallableE<Void,E>() {
				@Override
				public Void call(DatabaseConnection db) throws SQLException, E {
					runnable.run(db);
					return null;
				}
			}
		);
	}
@see  #executeTransaction(com.aoindustries.sql.DatabaseCallableE)

@see #isInTransaction()