code: protected void ensureNoFlags(final String flags) {
          if (flags == null || flags.isEmpty()) return;
          throw FormatException.formatFlagsMismatch(flags, getFormatName());
      }
docs: Ensures no flags are given.
  @param flags
  @throws FormatException if flags is not null or empty.