com.cherokeesoft.db.utils.api.TransactionSupplier Maven / Gradle / Ivy
package com.cherokeesoft.db.utils.api;
import com.cherokeesoft.db.utils.exception.DataException;
public interface TransactionSupplier {
V doGet() throws Exception;
default V get() throws DataException {
try {
return doGet();
} catch (Exception e) {
throw new DataException(e);
}
}
}