throw new IllegalStateException("Helper is NOT finished");
throw new IllegalStateException(Messages.getString("SFHelper.1"));
  void writeSF(JarOutputStream jar) throws IOException  {    if (this.state != FINISHED)      throw new IllegalStateException("Helper is NOT finished");    ByteArrayOutputStream baos = new ByteArrayOutputStream();    JarUtils.writeSFManifest(sfMainAttributes, sfEntries, baos);    sfBytes = baos.toByteArray();    log.finest("\n" + Util.dumpString(sfBytes, "+++ sfBytes "));    jar.write(sfBytes);    jar.flush();    this.state = SF_GENERATED;  }