code: private void write(String str) {
          try {
              m_writer.write(str);
          } catch (IOException ex) {
              throw new RuntimeException(ex);
          }
      }
docs: Write a string and turn any IOException caught into a RuntimeException