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

com.chartiq.finsemble.util.functional.ThrowableRunnable Maven / Gradle / Ivy

The newest version!
package com.chartiq.finsemble.util.functional;

/**
 * A functional interface for a function which may throw an exception. Useful in functional composition where functions
 * declare caught exceptions.
 *
 */
@FunctionalInterface
public interface ThrowableRunnable {

    /**
     * Runs a function.
     * @throws Exception when the run method fails
     */
    void run() throws Exception;

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy