code: public static RuntimeException rethrow(RequestExecutionException e) throws UnavailableException, TimedOutException
      {
          if (e instanceof RequestTimeoutException)
              throw toThrift((RequestTimeoutException)e);
          else
              throw new UnavailableException();
      }
docs: for methods that have a return value.