/*
 * Decompiled with CFR 0.152.
 * 
 * Could not load the following classes:
 *  org.springframework.transaction.TransactionStatus
 *  org.springframework.transaction.support.TransactionCallback
 */
package com.l7tech.server;

import com.l7tech.server.DefaultKeyImpl;
import java.io.IOException;
import org.springframework.transaction.TransactionStatus;
import org.springframework.transaction.support.TransactionCallback;

class i
implements TransactionCallback {
    final IOException[] val$holder;
    final DefaultKeyImpl this$0;

    /*
     * Ignored method signature, as it can't be verified against descriptor
     */
    i(DefaultKeyImpl defaultKeyImpl, IOException[] iOExceptionArray) {
        this.this$0 = defaultKeyImpl;
        this.val$holder = iOExceptionArray;
    }

    public Object doInTransaction(TransactionStatus transactionStatus) {
        try {
            return this.this$0.c();
        }
        catch (IOException iOException) {
            this.val$holder[0] = iOException;
            transactionStatus.setRollbackOnly();
            return null;
        }
    }
}

