public static Runnable softenRunnable ( final CheckedRunnable s ) { return ( ) -> { try { s . run ( ) ; } catch ( final Throwable e ) { throw throwSoftenedException ( e ) ; } } ; }
Soften a Runnable that throws a ChecekdException into a plain old Runnable