code: public static RuntimeException wrap(Throwable e) {
          if (e instanceof RuntimeException) {
              return (RuntimeException) e;
          }
          return new RuntimeException(e);
      }
docs: Wrap Checked exceptions in runtime exception.
  
  @param e
  
  @return e, wrapped in a runtime exception if necessary.