All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.icij.extract.mysql.CheckedFunction Maven / Gradle / Ivy

There is a newer version: 7.4.0
Show newest version
package org.icij.extract.mysql;

import java.sql.SQLException;
import java.util.function.Function;

@FunctionalInterface
public interface CheckedFunction extends Function {

	R applyThrows(final T t) throws SQLException;

	@Override
	default R apply(final T t) {
		try {
			return applyThrows(t);
		} catch (final SQLException e) {
			throw new RuntimeException(e);
		}
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy