//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes: //ORIGINAL LINE: @Test public void startNewTransactionOnRestartedKErnelTransactions() throws Throwable //JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#: public virtual void StartNewTransactionOnRestartedKErnelTransactions() { KernelTransactions kernelTransactions = NewKernelTransactions(); kernelTransactions.Stop(); kernelTransactions.Start(); assertNotNull("New transaction created by restarted kernel transactions component.", kernelTransactions.NewInstance(KernelTransaction.Type.@explicit, AUTH_DISABLED, 0L)); }
private static void StopKernelTransactions(KernelTransactions kernelTransactions) { try { kernelTransactions.Stop(); } catch (Exception t) { throw new Exception(t); } }