code: public static void throwRuntimeException(Throwable t)
      {
          // Unchecked? Can re-throw as is
          throwIfUnchecked(t);
          // Otherwise, let's just change its type:
          throw new RuntimeException("[was "+t.getClass()+"] "+t.getMessage(), t);
      }
docs: Method that can be used to convert any Throwable to a RuntimeException;
  conversion is only done for checked exceptions.