X - the type of exception that may be thrown by this runnable's method@FunctionalInterface public interface XRunnable<X extends Exception>
Runnable| Modifier and Type | Method and Description |
|---|---|
void |
run()
Runs the provided code and may throw a certain checked exception.
|
void run() throws X extends Exception
X extends ExceptionRunnable.run()Copyright © 2020. All rights reserved.