Package pro.verron.docxstamper.utils
Interface ThrowingRunnable
- All Superinterfaces:
Runnable
A functional interface representing runnable task able to throw an exception.
It extends the
Runnable interface and provides default implementation
of the Runnable.run() method handling the exception by rethrowing it
wrapped inside a DocxStamperException.- Version:
- ${version}
- Author:
- Joseph Verron
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidrun()Executes the runnable task, handling any exception by throwing it wrapped inside aDocxStamperException.voidExecutes the runnable task
-
Method Details
-
run
default void run()Executes the runnable task, handling any exception by throwing it wrapped inside aDocxStamperException. -
throwingRun
Executes the runnable task- Throws:
Exception- if an exception occurs executing the task
-