//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#: //ORIGINAL LINE: public void unpackResponse(org.neo4j.com.Response<?> response, ResponseUnpacker_TxHandler txHandler) throws Exception public override void UnpackResponse <T1>(Response <T1> response, ResponseUnpacker_TxHandler txHandler) { if (_stopped) { throw new System.InvalidOperationException("Component is currently stopped"); } BatchingResponseHandler responseHandler = new BatchingResponseHandler(_maxBatchSize, _batchCommitter, _obligationFulfiller, txHandler, _versionContextSupplier, _log); try { response.Accept(responseHandler); } finally { responseHandler.ApplyQueuedTransactions(); } }
public TransactionToApplyAnonymousInnerClass(BatchingResponseHandler outerInstance, Org.Neo4j.Kernel.impl.transaction.TransactionRepresentation getTransactionRepresentation, Org.Neo4j.Io.pagecache.tracing.cursor.context.VersionContext getVersionContext) : base(getTransactionRepresentation, transaction.CommitEntry.TxId, getVersionContext) { this.outerInstance = outerInstance; }