internal TokenIterator(KernelTransaction transaction, TokenAccess <T> access) { this.Access = access; this.Statement = transaction.AcquireStatement(); try { this.Tokens = access.Tokens(transaction.TokenRead()); } catch (Exception e) { Close(); throw e; } }