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

org.guppy4j.exceptions.ExceptionHandler Maven / Gradle / Ivy

There is a newer version: 0.0.7
Show newest version
package org.guppy4j.exceptions;

/**
 * Calls an action or function and handles checked exceptions of type E,
 * so that the original caller does not have to handle those exceptions.
 */
public interface ExceptionHandler {

    void tryUnchecked(ActionToTry action);

     R tryUnchecked(FunctionToTry function, P parameter);

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy