failSilentlyIfInterrupted
Ignore the InterruptedException if that happens, instead of throwing.
Example:
failSilentlyIfInterrupted(() ->
// execute method that may throw InterruptedException
);
Content copied to clipboard