code: private void write(char ch, int repeat) {
          try {
              for (int i = 0; i < repeat; i++) {
                  m_writer.write(ch);
              }
          } catch (IOException ex) {
              throw new RuntimeException(ex);
          }
      }
docs: RuntimeException.