public static < R > R beatAroundTheBush ( Callable < R > callable ) { try { return callable . call ( ) ; } catch ( Exception e ) { throw new RuntimeException ( e ) ; } }
If exception happens during callable automatically wrap it in RuntimeException .