public static <T>T wrapException(Callable<T> throwingCode){
  try {
    return throwingCode.call();
  }
 catch (  Exception e) {
    throw new RuntimeException(e);
  }
}

public static < T > T wrapException ( Callable < T > throwingCode ) { try { return throwingCode . call ( ) ; } catch ( Exception e ) { throw new RuntimeException ( e ) ; } }
execute the code of the callable who can throw an unchecked exception . if an exception is thrown , wrap it in a runtimeexception .
