java.lang.Object
org.cryptomator.cryptofs.common.FinallyUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<E extends Exception>
voidguaranteeInvocationOf(Iterable<RunnableThrowingException<? extends E>> tasks) <E extends Exception>
void<E extends Exception>
voidguaranteeInvocationOf(Stream<RunnableThrowingException<? extends E>> tasks) <E extends Exception>
voidguaranteeInvocationOf(RunnableThrowingException<? extends E>... tasks)
-
Constructor Details
-
FinallyUtil
@Inject public FinallyUtil()
-
-
Method Details
-
guaranteeInvocationOf
public <E extends Exception> void guaranteeInvocationOf(RunnableThrowingException<? extends E>... tasks) throws E - Throws:
E extends Exception
-
guaranteeInvocationOf
public <E extends Exception> void guaranteeInvocationOf(Iterable<RunnableThrowingException<? extends E>> tasks) throws E - Throws:
E extends Exception
-
guaranteeInvocationOf
public <E extends Exception> void guaranteeInvocationOf(Stream<RunnableThrowingException<? extends E>> tasks) throws E - Throws:
E extends Exception
-
guaranteeInvocationOf
public <E extends Exception> void guaranteeInvocationOf(Iterator<RunnableThrowingException<E>> tasks) throws E - Throws:
E extends Exception
-