Example usage for org.apache.commons.transaction.file FileResourceManager rollbackTransaction

List of usage examples for org.apache.commons.transaction.file FileResourceManager rollbackTransaction

Introduction

In this page you can find the example usage for org.apache.commons.transaction.file FileResourceManager rollbackTransaction.

Prototype

public void rollbackTransaction(Object txId) throws ResourceManagerException 

Source Link

Usage

From source file:com.anrisoftware.globalpom.fileresourcemanager.ResourceSaver.java

private void rollbackTransaction(FileResourceManager manager, String id) throws FileResourceException {
    try {/*www.  j av  a2s .  co  m*/
        manager.rollbackTransaction(id);
    } catch (ResourceManagerException e) {
        throw log.errorRollbackTransaction(e, id);
    }
}