title: Is it bad practice to throw a runtime exception with an inner, checked exception?
body: <p>is this bad practice?</p>
  
  <pre><code>public String foo(File file) {
      StringBuilder sb = new StringBuilder();
      try(
              BufferedInputStream bis =
                      new BufferedInputStream(
                              new FileInputStream(file))
      ) {
          for(int c = bis.read(); c != -1; c = bis.read())
              sb.append((char) c);
      } catch (IOException e) {
          throw new UncheckedIOException(e);
      }
      return sb.toString();
  }
  </code></pre>
  
  <p>Assume that there is no way to gracefully recover from the checked exception.</p>