
org.freedesktop.dbus.utils.IThrowingFunction Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dbus-java-core Show documentation
Show all versions of dbus-java-core Show documentation
Improved version of the DBus-Java library provided by freedesktop.org (https://dbus.freedesktop.org/doc/dbus-java/).
The newest version!
package org.freedesktop.dbus.utils;
/**
* Function which allows throwing any exception.
*
* @param type of value
* @param type of result
* @param type of exception which gets thrown
*
* @author hypfvieh
* @since v5.1.0 - 2024-07-12
*/
@FunctionalInterface
public interface IThrowingFunction {
/**
* Returns the result of the function or throws an exception.
*
* @return result of supplied function
* @throws T exception
*/
R apply(V _val) throws T;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy