Package ushiosan.jvm_utilities.function
Interface RunnableError
- All Superinterfaces:
Runnable
Interface with the same behavior as
Runnable but with the ability to handle errors within it-
Method Summary
Modifier and TypeMethodDescriptiondefault voidrun()When an object implementing interfaceRunnableis used to create a thread, starting the thread causes the object'srunmethod to be called in that separately executing thread.voidThe general contract of the methodrunis that it may take any action whatsoever.
-
Method Details
-
runWithErr
The general contract of the methodrunis that it may take any action whatsoever.- Throws:
Exception- error if something goes wrong
-
run
default void run()When an object implementing interfaceRunnableis used to create a thread, starting the thread causes the object'srunmethod to be called in that separately executing thread.The general contract of the method
runis that it may take any action whatsoever.
-