@Override public void close() throws ItemStreamException { super.close(); // Simulate failure on rollback when stream resets throw new RuntimeException("Bar"); } };
@Override public void close() throws ItemStreamException { super.close(); // Simulate failure on rollback when stream resets throw new RuntimeException("Bar"); } };