
org.guppy4j.exceptions.ExceptionHandler Maven / Gradle / Ivy
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