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 RunnableWithException
Deprecated.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.Runnable
asRunnable(RunnableWithException unchecked)
Deprecated.static java.lang.Runnable
asRunnableIgnoreException(RunnableWithException unchecked)
Deprecated.default java.lang.Runnable
ignoreException()
Deprecated.default java.lang.Runnable
orElseThrow()
Deprecated.void
run()
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.
-
-