Package aQute.lib.exceptions
Interface RunnableWithException
-
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@Deprecated @FunctionalInterface public interface RunnableWithExceptionDeprecated.Runnable interface that allows exceptions.
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description static java.lang.RunnableasRunnable(RunnableWithException unchecked)Deprecated.static java.lang.RunnableasRunnableIgnoreException(RunnableWithException unchecked)Deprecated.default java.lang.RunnableignoreException()Deprecated.default java.lang.RunnableorElseThrow()Deprecated.voidrun()Deprecated.
-
-
-
Method Detail
-
run
void run() throws java.lang.Exception
Deprecated.- Throws:
java.lang.Exception
-
orElseThrow
default java.lang.Runnable orElseThrow()
Deprecated.
-
ignoreException
default java.lang.Runnable ignoreException()
Deprecated.
-
asRunnable
static java.lang.Runnable asRunnable(RunnableWithException unchecked)
Deprecated.
-
asRunnableIgnoreException
static java.lang.Runnable asRunnableIgnoreException(RunnableWithException unchecked)
Deprecated.
-
-