code: public static RuntimeException asRuntimeException(Exception e) {
          if (e instanceof RuntimeException) {
              return (RuntimeException) e;
          }
          return UnexpectedMethodInvocationException.triage(e);
      }
docs: Convert an Exception to RuntimeException
  @param e the Exception instance
  @return a RuntimeException instance