TransactionCommitFailedException extends OperationFailedException { public TransactionCommitFailedException(final String message, final RpcError... errors) { this(message, null, errors); } TransactionCommitFailedException(final String message, final RpcError... errors);  TransactionCommitFailedException(final String message, final Throwable cause,
                                            final RpcError... errors);   }
@Test(expected = TransactionCommitFailedException.class) public void transactionCommitFailedExceptionTest() throws Exception { throw new TransactionCommitFailedException("test", mock(RpcError.class)); }