public void checkTransaction() {
		if (!txStarted) {
			if (waitingForNewTransaction) {
				throw new TerminatedTransactionException();
			}
			throw new NoTransactionException();
		}
	}
Verify that a valid transaction has been started.
@throws NoTransactionException if transaction has not been started
@throws TerminatedTransactionException transaction was prematurely terminated
Ghidra/Framework/DB/src/main/java/db/DBHandle.java