org.litesoft.exceptionals.ExceptionalConsumer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of exceptional_functional_interfaces Show documentation
Show all versions of exceptional_functional_interfaces Show documentation
Set of Functional Interfaces that can throw an Exception -- to support defining method signatures that can take dynamic behavior that might throw an Exception
The newest version!
package org.litesoft.exceptionals;
/**
* Simple extension of the Java 8+ Consumer
that can throw an Exception
.
*/
@SuppressWarnings("unused")
public interface ExceptionalConsumer {
void accept( T t )
throws Exception;
}