code: public static void headerListSizeExceeded(int streamId, long maxHeaderListSize,
                                                boolean onDecode) throws Http2Exception {
          throw headerListSizeError(streamId, PROTOCOL_ERROR, onDecode, "Header size exceeded max " +
                                    "allowed size (%d)", maxHeaderListSize);
      }
docs: Results in a RST_STREAM being sent for {@code streamId} due to violating
  <a href="https://tools.ietf.org/html/rfc7540#section-6.5.2">SETTINGS_MAX_HEADER_LIST_SIZE</a>.
  @param streamId The stream ID that was being processed when the exceptional condition occurred.
  @param maxHeaderListSize The max allowed size for a list of headers in bytes which was exceeded.
  @param onDecode {@code true} if the exception was encountered during decoder. {@code false} for encode.
  @throws Http2Exception a stream error.